This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
|
class Application < Merb::Controller
|
|
def current_user
|
|
(@user ||= User.find(session[:user_id]))
|
|
end
|
|
|
|
def reset_session
|
|
session[:user_id] = nil
|
|
end
|
|
end
|