Class: ActionAuth::PasswordsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ActionAuth::PasswordsController
- Defined in:
- app/controllers/action_auth/passwords_controller.rb
Instance Method Summary collapse
Instance Method Details
#edit ⇒ Object
6 7 |
# File 'app/controllers/action_auth/passwords_controller.rb', line 6 def edit end |
#update ⇒ Object
9 10 11 12 13 14 15 |
# File 'app/controllers/action_auth/passwords_controller.rb', line 9 def update if @user.update(user_params) redirect_to sign_in_path, notice: "Your password has been changed" else render :edit, status: :unprocessable_entity end end |