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
|