Adding some localizations
This commit is contained in:
parent
a4313224d9
commit
3ce6ac0ce2
19 changed files with 91 additions and 88 deletions
|
@ -11,7 +11,7 @@ class Settings::ProfilesController < ApplicationController
|
|||
|
||||
def update
|
||||
if @account.update(account_params)
|
||||
redirect_to settings_profile_path, notice: 'Changes successfully saved!'
|
||||
redirect_to settings_profile_path, notice: I18n.t('generic.changes_saved_msg')
|
||||
else
|
||||
render action: :show
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue