Module: DoubleAuthEngine::PasswordResetsControllerMixin

Included in:
PasswordResetsController
Defined in:
lib/double_auth_engine/controllers/password_resets_controller_mixin.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/double_auth_engine/controllers/password_resets_controller_mixin.rb', line 3

def self.included(base)
  base.class_eval do
    skip_before_filter :require_user
    before_filter :load_user_using_perishable_token, :only => [:edit, :update]
  end
  base.send :include, InstanceMethods
end