This commit is contained in:
Pete Matsyburka
2024-09-28 01:21:35 +03:00
committed by Oleksandr Turchyn
parent c7b08e8d30
commit 37bb987e3e
14 changed files with 90 additions and 42 deletions
+3 -1
View File
@@ -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