Class: Kaui::SessionsController
- Inherits:
-
Devise::SessionsController
- Object
- Devise::SessionsController
- Kaui::SessionsController
- Includes:
- ExceptionHelper
- Defined in:
- app/controllers/kaui/sessions_controller.rb
Overview
Subclassed to specify the correct layout
Instance Method Summary collapse
-
#new ⇒ Object
The sign-in flow eventually calls authenticate! from config/initializers/killbill_authenticatable.rb.
Methods included from ExceptionHelper
Instance Method Details
#new ⇒ Object
The sign-in flow eventually calls authenticate! from config/initializers/killbill_authenticatable.rb
14 15 16 17 |
# File 'app/controllers/kaui/sessions_controller.rb', line 14 def new flash.delete(:alert) if flash[:alert] == I18n.t('devise.failure.unauthenticated') && (stored_location_for(:user).nil? || flash[:notice].present?) super end |