gearheads
/
mastodon
Archived
2
0
Fork 0

Fix report processing notice not mentioning the report number when performing a custom action (#27442)

gh/dev^2
Claire 2023-10-26 19:03:31 +02:00
parent 13205b54fd
commit 700ae1f918
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ module Admin
account_action.save! account_action.save!
if account_action.with_report? if account_action.with_report?
redirect_to admin_reports_path, notice: I18n.t('admin.reports.processed_msg', id: params[:report_id]) redirect_to admin_reports_path, notice: I18n.t('admin.reports.processed_msg', id: resource_params[:report_id])
else else
redirect_to admin_account_path(@account.id) redirect_to admin_account_path(@account.id)
end end