Skip to content

A platform for community discussion. Free, open, simple.

DEV: Don't require login for QUit test path.

Guo Xiang Tana1888b301b91
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