Module: Authpwn::CurrentUser

Included in:
ControllerInstanceMethods, HttpBasicControllerInstanceMethods, HttpTokenControllerInstanceMethods
Defined in:
lib/authpwn_rails/current_user.rb

Overview

The unofficial Rails convention for tracking the authenticated user.

Instance Attribute Summary collapse

Instance Attribute Details

#current_userObject

Returns the value of attribute current_user.



6
7
8
# File 'lib/authpwn_rails/current_user.rb', line 6

def current_user
  @current_user
end