mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-31 02:59:39 +02:00
Add auth-related i18n
This commit is contained in:
parent
532cd08b32
commit
40c6c4b756
5 changed files with 32 additions and 39 deletions
|
@ -6,7 +6,7 @@ class PasswordsController < ApplicationController
|
|||
|
||||
def update
|
||||
if current_user.update(password_params)
|
||||
redirect_to root_path, notice: "Your password has been updated successfully."
|
||||
redirect_to root_path, notice: t(".success")
|
||||
else
|
||||
render :edit, status: :unprocessable_entity
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue