Class: Quadro::UsersController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Quadro::UsersController
- Defined in:
- app/controllers/quadro/users_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
#after_sign_in_path_for, #after_sign_out_path_for
Instance Method Details
#update ⇒ Object
9 10 11 12 13 |
# File 'app/controllers/quadro/users_controller.rb', line 9 def update if user.update_with_password(params[:user]) sign_in user, bypass: true end end |