Class: Incline::AccessTestController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Incline::AccessTestController
- Defined in:
- app/controllers/incline/access_test_controller.rb
Instance Method Summary collapse
- #test_allow_anon ⇒ Object
- #test_require_admin ⇒ Object
- #test_require_anon ⇒ Object
-
#test_require_group ⇒ Object
Fixtures should define ‘Group 1’ as being a group for this action.
- #test_require_user ⇒ Object
Instance Method Details
#test_allow_anon ⇒ Object
12 13 14 |
# File 'app/controllers/incline/access_test_controller.rb', line 12 def test_allow_anon render text: 'OK' end |
#test_require_admin ⇒ Object
16 17 18 |
# File 'app/controllers/incline/access_test_controller.rb', line 16 def test_require_admin render text: 'OK' end |
#test_require_anon ⇒ Object
8 9 10 |
# File 'app/controllers/incline/access_test_controller.rb', line 8 def test_require_anon render text: 'OK' end |
#test_require_group ⇒ Object
Fixtures should define ‘Group 1’ as being a group for this action.
25 26 27 |
# File 'app/controllers/incline/access_test_controller.rb', line 25 def test_require_group render text: 'OK' end |
#test_require_user ⇒ Object
20 21 22 |
# File 'app/controllers/incline/access_test_controller.rb', line 20 def test_require_user render text: 'OK' end |