Method: Clearance::Authentication::InstanceMethods#current_user

Defined in:
lib/clearance/authentication.rb

#current_userUser?

User in the current cookie

Returns:



24
25
26
# File 'lib/clearance/authentication.rb', line 24

def current_user
  @_current_user ||= user_from_cookie
end