X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4470cb88e0556041452719a3b4d7396cb3e3ec4a..e310767dcde76839c9c4fe452d5479ba531f3a65:/app/controllers/traces_controller.rb diff --git a/app/controllers/traces_controller.rb b/app/controllers/traces_controller.rb index 14648dc9c..075b5a864 100644 --- a/app/controllers/traces_controller.rb +++ b/app/controllers/traces_controller.rb @@ -116,7 +116,7 @@ class TracesController < ApplicationController @trace.schedule_import redirect_to :action => :index, :display_name => current_user.display_name else - flash[:error] = t(".upload_failed") if @trace.valid? + flash.now[:error] = t(".upload_failed") if @trace.valid? render :action => "new" end