Proxy to the authenticated? method on warden :api: public
# File lib/rails_warden/controller_mixin.rb, line 12 def authenticated?(*args) warden.authenticated?(*args) end
Access the currently logged in user :api: public
# File lib/rails_warden/controller_mixin.rb, line 19 def user(*args) warden.user(*args) end
# File lib/rails_warden/controller_mixin.rb, line 24 def user=(user) warden.set_user user end
Generated with the Darkfish Rdoc Generator 2.