From: Eugen Rochko Date: Thu, 27 Dec 2018 02:42:29 +0000 (+0100) Subject: Redirect to reports overview instead of report after account action (#9639) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=9b8c7a9aadd25827476151db90ba4517fc9d79a5;p=mastodon.git Redirect to reports overview instead of report after account action (#9639) --- 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