Adding some localizations
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user