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

remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Eugen Rochko 2018-12-27 03:42:29 +01:00 committed by GitHub
parent f63a0134d7
commit 9b8c7a9aad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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