Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 7e7c63f3cc
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.37 kb
module AuthlogicEngine
module Helper
def current_user_session
return @current_user_session if defined?(@current_user_session)
@current_user_session = UserSession.find
end
def current_user
return @current_user if defined?(@current_user)
@current_user = current_user_session && current_user_session.record
end
end
end
Jump to Line
Something went wrong with that request. Please try again.