mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Story #104525314 - allow admin to remove pendingDelete and clear delete_at
This commit is contained in:
parent
b1c8eb5f31
commit
a53451c2ef
3 changed files with 25 additions and 9 deletions
|
@ -47,6 +47,7 @@ class Admin::DomainsController < AdminController
|
|||
def update
|
||||
dp = ignore_empty_statuses
|
||||
@domain.is_admin = true
|
||||
@domain.admin_status_update dp[:statuses]
|
||||
|
||||
if @domain.update(dp)
|
||||
flash[:notice] = I18n.t('domain_updated')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue