Method: UserMgmt::ApplicationHelper#current_user

Defined in:
app/helpers/user_mgmt/application_helper.rb

#current_userObject



15
16
17
# File 'app/helpers/user_mgmt/application_helper.rb', line 15

def current_user
	@current_user ||= (cookies[:user_session_id])[:body] unless cookies[:user_session_id] == nil
end