浏览代码

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

master
Eugen Rochko 5 年前
committed by GitHub
父节点
当前提交
9b8c7a9aad
找不到此签名对应的密钥 GPG 密钥 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


正在加载...
取消
保存