mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
fixed storing lockable statuses
This commit is contained in:
parent
9c0018d6fe
commit
3f8a99d8ca
3 changed files with 11 additions and 3 deletions
|
@ -53,9 +53,8 @@ module Admin
|
|||
dp = ignore_empty_statuses
|
||||
@domain.is_admin = true
|
||||
@domain.admin_status_update dp[:statuses]
|
||||
|
||||
if @domain.update(dp)
|
||||
# @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