mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 15:14:47 +02:00
refactoring
This commit is contained in:
parent
dad4790ccc
commit
9c0018d6fe
4 changed files with 6 additions and 8 deletions
|
@ -54,8 +54,8 @@ module Admin
|
|||
@domain.is_admin = true
|
||||
@domain.admin_status_update dp[:statuses]
|
||||
if @domain.update(dp)
|
||||
@domain.admin_store_statuses_history = @domain.statuses
|
||||
@domain.save
|
||||
# @domain.admin_store_statuses_history = @domain.statuses
|
||||
# @domain.save
|
||||
flash[:notice] = I18n.t('domain_updated')
|
||||
redirect_to [:admin, @domain]
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue