From a1888b301b91a761b5556c81d6e947de7f240794 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Fri, 23 Nov 2018 13:50:19 +0800 Subject: [PATCH] DEV: Don't require login for QUit test path. --- app/controllers/qunit_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/qunit_controller.rb b/app/controllers/qunit_controller.rb index 09c979373d4..6f4b5f5b8f6 100644 --- a/app/controllers/qunit_controller.rb +++ b/app/controllers/qunit_controller.rb @@ -1,5 +1,5 @@ class QunitController < ApplicationController - skip_before_action :check_xhr, :preload_json + skip_before_action :check_xhr, :preload_json, :redirect_to_login_if_required layout false # only used in test / dev