Class: ReviseAuth::PasswordController
- Inherits:
-
ReviseAuthController
- Object
- ApplicationController
- ReviseAuthController
- ReviseAuth::PasswordController
- Defined in:
- app/controllers/revise_auth/password_controller.rb
Instance Method Summary collapse
Methods inherited from ReviseAuthController
Methods included from Authentication
#authenticate_user, #authenticate_user!, #authenticated_user_from_session, #current_user, #login, #logout, #reset_session, #user_signed_in?
Instance Method Details
#update ⇒ Object
4 5 6 7 8 9 10 |
# File 'app/controllers/revise_auth/password_controller.rb', line 4 def update if current_user.update(password_params) # flash[:notice] = I18n.t("revise_auth.password_changed") end redirect_to profile_path end |