X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d5d9e7efc9f69279992006253419ef66655516ea..9389a7698a5c44a5ec7796fdb24bd6eee3dbd0d6:/app/controllers/reports_controller.rb?ds=inline 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