Module: ActionController::AuthenticateUser
- Defined in:
- lib/action_controller/authenticate_user.rb
Overview
Module automatically mixed into the all controllers making the application of authentication easy. See Login::ControllerIntegration::ClassMethods for how to apply authentication.
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(target) ⇒ Object
8 9 10 11 12 |
# File 'lib/action_controller/authenticate_user.rb', line 8 def self.included(target) target.extend(ClassMethods) target.send(:include, InstanceMethods) target.helper_method(:logged_in?, :authenticated?) end |