Exception: Booth::Errors::NotAuthenticated
- Inherits:
-
Integration
- Object
- StandardError
- Error
- Integration
- Booth::Errors::NotAuthenticated
- Defined in:
- lib/booth/errors.rb
Instance Method Summary collapse
-
#initialize(message = 'This controller action must only be reachable for authenticated users. ' \ 'Protect it for example with `before_action :require_authentication`') ⇒ NotAuthenticated
constructor
A new instance of NotAuthenticated.
Constructor Details
#initialize(message = 'This controller action must only be reachable for authenticated users. ' \ 'Protect it for example with `before_action :require_authentication`') ⇒ NotAuthenticated
Returns a new instance of NotAuthenticated.
33 34 35 36 |
# File 'lib/booth/errors.rb', line 33 def initialize( = 'This controller action must only be reachable for authenticated users. ' \ 'Protect it for example with `before_action :require_authentication`') super end |