2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-04-23 02:42:25 -04:00
|
|
|
class QunitController < ApplicationController
|
2018-11-23 00:50:19 -05:00
|
|
|
skip_before_action :check_xhr, :preload_json, :redirect_to_login_if_required
|
2018-04-23 02:42:25 -04:00
|
|
|
layout false
|
|
|
|
|
|
|
|
# only used in test / dev
|
|
|
|
def index
|
|
|
|
raise Discourse::InvalidAccess.new if Rails.env.production?
|
|
|
|
end
|
|
|
|
end
|