mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Story #104525314 - correction, flag not needed on reject'
This commit is contained in:
parent
107448d919
commit
8a84d16283
1 changed files with 0 additions and 1 deletions
|
@ -17,7 +17,6 @@ class Admin::PendingDeletesController < AdminController
|
||||||
def destroy
|
def destroy
|
||||||
authorize! :destroy, :pending
|
authorize! :destroy, :pending
|
||||||
|
|
||||||
@epp_domain.is_admin= true
|
|
||||||
if @domain.clean_pendings!
|
if @domain.clean_pendings!
|
||||||
redirect_to admin_domain_path(@domain.id), notice: t(:pending_removed)
|
redirect_to admin_domain_path(@domain.id), notice: t(:pending_removed)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue