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
12 13 |
# File 'app/controllers/action_auth/passwords_controller.rb', line 12 def edit end |
#update ⇒ Object
15 16 17 18 19 20 21 |
# File 'app/controllers/action_auth/passwords_controller.rb', line 15 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 |