Redirect to reports overview instead of report after account action (#9639)
Šis iesūtījums ir iekļauts:
vecāks
f63a0134d7
iesūtījums
9b8c7a9aad
1 izmainītas datnes ar 1 papildinājumiem un 1 izdzēšanām
|
|
@ -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
|
||||
|
|
|
|||
Notiek ielāde…
Pievienot tabulu
Atsaukties jaunā pieteikumā