X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/19854d936dc3a60cbc439b18251bae5ec58ee7b5..d5b3a70ac122e9b3ae4fbb7d14782ab85bc3f715:/app/controllers/reports_controller.rb?ds=sidebyside diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb index 5c70d9704..e2ec400a5 100644 --- a/app/controllers/reports_controller.rb +++ b/app/controllers/reports_controller.rb @@ -29,6 +29,8 @@ class ReportsController < ApplicationController @report.issue.reopen unless @report.issue.open? @report.issue.save! + @report.issue.reported_user&.spam_check + redirect_to helpers.reportable_url(@report.issue.reportable), :notice => t(".successful_report") else flash.now[:notice] = t(".provide_details")