mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Keyrelay list on domain, translations refactor
This commit is contained in:
parent
c15b4d48b9
commit
ee060fca1a
56 changed files with 439 additions and 356 deletions
|
@ -11,7 +11,7 @@ class Admin::SettingsController < AdminController
|
|||
Setting[k] = v
|
||||
end
|
||||
|
||||
flash[:notice] = I18n.t('shared.records_updated')
|
||||
flash[:notice] = I18n.t('records_updated')
|
||||
redirect_to [:admin, :settings]
|
||||
end
|
||||
|
||||
|
@ -19,10 +19,10 @@ class Admin::SettingsController < AdminController
|
|||
|
||||
def update
|
||||
if @setting_group.update(setting_group_params)
|
||||
flash[:notice] = I18n.t('shared.setting_updated')
|
||||
flash[:notice] = I18n.t('setting_updated')
|
||||
redirect_to [:admin, @setting_group]
|
||||
else
|
||||
flash[:alert] = I18n.t('shared.failed_to_update_setting')
|
||||
flash[:alert] = I18n.t('failed_to_update_setting')
|
||||
render 'show'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue