From 9b8c7a9aadd25827476151db90ba4517fc9d79a5 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 27 Dec 2018 03:42:29 +0100 Subject: 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(-) (limited to 'app') diff --git a/app/controllers/admin/account_actions_controller.rb b/app/controllers/admin/account_actions_controller.rb index e847495f1..a2cea461e 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 -- cgit