mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +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,10 +11,10 @@ class Admin::ZonefileSettingsController < ApplicationController
|
|||
|
||||
def update
|
||||
if @zonefile_setting.update(zonefile_setting_params)
|
||||
flash[:notice] = I18n.t('shared.record_updated')
|
||||
flash[:notice] = I18n.t('record_updated')
|
||||
redirect_to admin_zonefile_settings_path
|
||||
else
|
||||
flash.now[:alert] = I18n.t('shared.failed_to_update_record')
|
||||
flash.now[:alert] = I18n.t('failed_to_update_record')
|
||||
render 'edit'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue