Module: Devise::SignInCallbacks::ClassMethods

Defined in:
lib/autoload/devise/sign_in_callbacks.rb

Instance Method Summary collapse

Instance Method Details

#after_sign_in(*args, &block) ⇒ Object


10
11
12
# File 'lib/autoload/devise/sign_in_callbacks.rb', line 10

def (*args, &block)
  set_callback(:sign_in, :after, *args, &block)
end

#before_sign_in(*args, &block) ⇒ Object


14
15
16
# File 'lib/autoload/devise/sign_in_callbacks.rb', line 14

def (*args, &block)
  set_callback(:sign_in, :before, *args, &block)
end