Exception: Booth::Errors::NotAuthenticated

Inherits:
Integration show all
Defined in:
lib/booth/errors.rb

Instance Method Summary collapse

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(message = 'This controller action must only be reachable for authenticated users. ' \
                         'Protect it for example with `before_action :require_authentication`')
  super
end