Class: SimpleTokenAuthentication::SignInHandler
- Inherits:
-
Object
- Object
- SimpleTokenAuthentication::SignInHandler
- Includes:
- Singleton
- Defined in:
- lib/simple_token_authentication/sign_in_handler.rb
Instance Method Summary collapse
-
#sign_in(controller, record, *args) ⇒ Object
Devise sign in is performed through a controller which includes Devise::Controllers::SignInOut.
Instance Method Details
#sign_in(controller, record, *args) ⇒ Object
Devise sign in is performed through a controller which includes Devise::Controllers::SignInOut
7 8 9 10 11 |
# File 'lib/simple_token_authentication/sign_in_handler.rb', line 7 def sign_in(controller, record, *args) integrate_with_devise_trackable!(controller) controller.send(:sign_in, record, *args) end |