Story#109040558/no_code fix route

(cherry picked from commit 8b710dd)
This commit is contained in:
Vladimir Krylov 2015-11-26 14:52:40 +02:00
parent a74216c5e5
commit 3222480b49

View file

@ -9,7 +9,7 @@ class Admin::PendingUpdatesController < AdminController
if @epp_domain.apply_pending_update! if @epp_domain.apply_pending_update!
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 edit_admin_domain_path(@domain.id), alert: t(:failure)
end end
end end