Redirect to reports overview instead of report after account action (#9639)
parent
217b42a992
commit
7c2340443e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue