X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/fcbccb6a441fb05ee92227dfa0cb90a2db60296c..650ecfa7df483a9ba4a6959554fb77b9cfdd2144:/app/controllers/reports_controller.rb diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb index 30cb9da7c..6d05e6a57 100644 --- a/app/controllers/reports_controller.rb +++ b/app/controllers/reports_controller.rb @@ -28,7 +28,7 @@ class ReportsController < ApplicationController redirect_to helpers.reportable_url(@report.issue.reportable), :notice => t(".successful_report") else - flash[:notice] = t(".provide_details") + flash.now[:notice] = t(".provide_details") render :action => "new" end end