From 7c2340443ec3b8fd9f863078daba03c02a374bcf Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 27 Dec 2018 03:42:29 +0100 Subject: [PATCH] Redirect to reports overview instead of report after account action (#9639) --- app/controllers/admin/account_actions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/account_actions_controller.rb b/app/controllers/admin/account_actions_controller.rb index e847495f1b..a2cea461ee 100644 --- a/app/controllers/admin/account_actions_controller.rb +++ b/app/controllers/admin/account_actions_controller.rb @@ -17,7 +17,7 @@ module Admin account_action.save! if account_action.with_report? - redirect_to admin_report_path(account_action.report) + redirect_to admin_reports_path else redirect_to admin_account_path(@account.id) end