fix i18n
This commit is contained in:
committed by
Oleksandr Turchyn
parent
c7b08e8d30
commit
37bb987e3e
@@ -33,7 +33,9 @@ class AccountsController < ApplicationController
|
||||
|
||||
Docuseal.refresh_default_url_options!
|
||||
|
||||
redirect_to settings_account_path, notice: I18n.t('account_information_has_been_updated')
|
||||
with_locale do
|
||||
redirect_to settings_account_path, notice: I18n.t('account_information_has_been_updated')
|
||||
end
|
||||
rescue ActiveRecord::RecordInvalid
|
||||
render :show, status: :unprocessable_entity
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user