115693873-wrong_route

This commit is contained in:
Stas 2016-06-20 14:21:14 +03:00
parent abf736e540
commit f97bab5f87

View file

@ -8,7 +8,7 @@ class Admin::PendingDeletesController < AdminController
if registrant_verification.domain_registrant_delete_confirm!("admin #{current_user.username}") if registrant_verification.domain_registrant_delete_confirm!("admin #{current_user.username}")
redirect_to admin_domain_path(@domain.id), notice: t(:pending_applied) redirect_to admin_domain_path(@domain.id), notice: t(:pending_applied)
else else
redirect_to admin_edit_domain_path(@domain.id), alert: t(:failure) redirect_to admin_domain_path(@domain.id), alert: t(:failure)
end end
end end