Class: Ibrain::Auth::SessionsController
- Inherits:
-
Devise::SessionsController
- Object
- Devise::SessionsController
- Ibrain::Auth::SessionsController
- Includes:
- ActionController::Helpers, ActionController::MimeResponds, Core::ControllerHelpers::Response
- Defined in:
- app/controllers/ibrain/auth/sessions_controller.rb
Instance Method Summary collapse
-
#create ⇒ Object
before_action :configure_sign_in_params, only: [:create].
Instance Method Details
#create ⇒ Object
before_action :configure_sign_in_params, only: [:create]
10 11 12 13 14 15 |
# File 'app/controllers/ibrain/auth/sessions_controller.rb', line 10 def create user = repo.sign_in sign_in(resource_name, user) if user.present? super { |resource| @resource = resource } end |