Module: Clearance::UsersController
- Defined in:
- lib/clearance/app/controllers/users_controller.rb
Defined Under Namespace
Modules: InstanceMethods, PrivateInstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/clearance/app/controllers/users_controller.rb', line 4 def self.included(base) base.class_eval do before_filter :authenticate before_filter :redirect_to_root, :only => [:new, :create], :if => :logged_in? before_filter :ensure_user_is_accessing_self, :only => [:edit, :update, :show] filter_parameter_logging :password include InstanceMethods private include PrivateInstanceMethods end end |