]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/reports_controller.rb
renamed fossgis engine
[rails.git] / app / controllers / reports_controller.rb
index 30cb9da7cc18c526ab9b93eabbb338cf72fbf2a8..6d05e6a57b7f24042ffcb781e8952cbeb7f52bd5 100644 (file)
@@ -28,7 +28,7 @@ class ReportsController < ApplicationController
 
       redirect_to helpers.reportable_url(@report.issue.reportable), :notice => t(".successful_report")
     else
 
       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
       render :action => "new"
     end
   end