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.



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

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