diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-12-27 03:42:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-27 03:42:29 +0100 |
commit | 9b8c7a9aadd25827476151db90ba4517fc9d79a5 (patch) | |
tree | 146fff7a566c409f2076030a21852251645ed2da /app/controllers/admin | |
parent | f63a0134d7cae21d09d1c6c92df3c29466c6c31f (diff) |
Redirect to reports overview instead of report after account action (#9639)
Diffstat (limited to 'app/controllers/admin')
-rw-r--r-- | app/controllers/admin/account_actions_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |