Class: Wallaby::SecureController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Wallaby::SecureController
- Defined in:
- app/controllers/wallaby/secure_controller.rb
Overview
This controller only contains authentication logics
Direct Known Subclasses
Constant Summary
Constants inherited from ApplicationController
ApplicationController::ERROR_PATH
Instance Method Summary collapse
-
#forbidden(exception = nil) ⇒ Object
Forbidden page.
-
#unauthorized(exception = nil) ⇒ Object
Unauthorized page.
Methods inherited from ApplicationController
#bad_request, #not_found, #unprocessable_entity
Instance Method Details
#forbidden(exception = nil) ⇒ Object
Forbidden page
16 17 18 |
# File 'app/controllers/wallaby/secure_controller.rb', line 16 def forbidden(exception = nil) error_rendering(exception, __callee__) end |
#unauthorized(exception = nil) ⇒ Object
Unauthorized page
11 12 13 |
# File 'app/controllers/wallaby/secure_controller.rb', line 11 def (exception = nil) error_rendering(exception, __callee__) end |