From f97bab5f872486a7f4cea3d517192b583e7f3295 Mon Sep 17 00:00:00 2001 From: Stas Date: Mon, 20 Jun 2016 14:21:14 +0300 Subject: [PATCH] 115693873-wrong_route --- app/controllers/admin/pending_deletes_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/pending_deletes_controller.rb b/app/controllers/admin/pending_deletes_controller.rb index 1f3511e6b..369e007cd 100644 --- a/app/controllers/admin/pending_deletes_controller.rb +++ b/app/controllers/admin/pending_deletes_controller.rb @@ -8,7 +8,7 @@ class Admin::PendingDeletesController < AdminController if registrant_verification.domain_registrant_delete_confirm!("admin #{current_user.username}") redirect_to admin_domain_path(@domain.id), notice: t(:pending_applied) else - redirect_to admin_edit_domain_path(@domain.id), alert: t(:failure) + redirect_to admin_domain_path(@domain.id), alert: t(:failure) end end