Class: AuthenticationsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- AuthenticationsController
- Defined in:
- app/controllers/authentications_controller.rb
Instance Method Summary collapse
Instance Method Details
#callback ⇒ Object
4 5 6 |
# File 'app/controllers/authentications_controller.rb', line 4 def callback redirect_to session["return_to"] || '/' end |
#sign_out ⇒ Object
8 9 10 11 12 13 |
# File 'app/controllers/authentications_controller.rb', line 8 def sign_out = Rails.application.config.[:key] .delete() reset_session redirect_to Plek.current.find('signonotron') + "/users/sign_out" end |