Module: Userify::Authentication::InstanceMethods
- Defined in:
- lib/userify/authentication.rb
Instance Method Summary collapse
Instance Method Details
#current_user ⇒ Object
16 17 18 |
# File 'lib/userify/authentication.rb', line 16 def current_user @_current_user ||= ( or user_from_session) end |
#signed_in? ⇒ Boolean
20 21 22 |
# File 'lib/userify/authentication.rb', line 20 def signed_in? !current_user.nil? end |