Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (14 sloc) 0.306 kB
module OpenSesame
module ControllerHelper
extend ActiveSupport::Concern
def warden
env['warden']
end
def authenticate_opensesame!
warden.authenticate!(:scope => :opensesame)
end
def current_opensesame_user
warden.user(:scope => :opensesame)
end
end
end
Jump to Line
Something went wrong with that request. Please try again.