Class: Passportist::SessionsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Passportist::SessionsController
- Defined in:
- app/controllers/passportist/sessions_controller.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
4 5 6 7 |
# File 'app/controllers/passportist/sessions_controller.rb', line 4 def destroy .delete(:auth_token, domain: :all) redirect_to main_app.root_url end |