Преглед изворни кода

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

master
Eugen Rochko пре 5 година
committed by GitHub
родитељ
комит
9b8c7a9aad
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      app/controllers/admin/account_actions_controller.rb

+ 1
- 1
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


Loading…
Откажи
Сачувај