Exception: Alchemy::NoCurrentUserFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/alchemy/errors.rb

Instance Method Summary collapse

Instance Method Details

#messageObject

Raised if no current_user is found to authorize against.



78
79
80
# File 'lib/alchemy/errors.rb', line 78

def message
  "You need to provide a current_user method in your ApplicationController that returns the current authenticated user."
end