Przeglądaj źródła

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

master
Eugen Rochko 5 lat temu
committed by GitHub
rodzic
commit
9b8c7a9aad
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      app/controllers/admin/account_actions_controller.rb

+ 1
- 1
app/controllers/admin/account_actions_controller.rb Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz