Module: Clearance::App::Controllers::PasswordsController

Defined in:
lib/clearance/app/controllers/passwords_controller.rb

Defined Under Namespace

Modules: InstanceMethods, PrivateInstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
# File 'lib/clearance/app/controllers/passwords_controller.rb', line 6

def self.included(base)
  base.class_eval do
    before_filter :find_user_with_reset_password_code_or_deny, :only => [:edit, :update]
    filter_parameter_logging :password, :password_confirmation
    
    include InstanceMethods
    
  private
    include PrivateInstanceMethods
  end
end