This commit is contained in:
Oleksandr Turchyn authored and Oleksandr Turchyn committed 2024-09-23 11:45:07 +03:00
1 parent 3c60fb4ee6
commit e9d728fa4a
132 files changed
+1121 -600

No files matched your search

@@ -13,9 +13,9 @@ class NotificationsSettingsController < ApplicationController
def create
if @account_config.value.present? ? @account_config.save : @account_config.delete
redirect_back fallback_location: settings_notifications_path, notice: 'Changes have been saved'
redirect_back fallback_location: settings_notifications_path, notice: I18n.t('changes_have_been_saved')
else
redirect_back fallback_location: settings_notifications_path, alert: 'Unable to save'
redirect_back fallback_location: settings_notifications_path, alert: I18n.t('unable_to_save')
end
end