Redirect to reports overview instead of report after account action (#9639)

lolsob-rspec
Eugen Rochko 2018-12-27 03:42:29 +01:00 committed by GitHub
parent 217b42a992
commit 7c2340443e
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ module Admin
account_action.save! account_action.save!
if account_action.with_report? if account_action.with_report?
redirect_to admin_report_path(account_action.report) redirect_to admin_reports_path
else else
redirect_to admin_account_path(@account.id) redirect_to admin_account_path(@account.id)
end end