From: Tom Hughes Date: Fri, 6 Aug 2010 08:53:53 +0000 (+0100) Subject: Fix redirect after a trace is uploaded X-Git-Tag: live~6273^2~32 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/cf9cfd10a1d95889de1a5adf55abd2b168c96781?ds=sidebyside Fix redirect after a trace is uploaded --- diff --git a/app/controllers/trace_controller.rb b/app/controllers/trace_controller.rb index 6751cf318..4832910c4 100644 --- a/app/controllers/trace_controller.rb +++ b/app/controllers/trace_controller.rb @@ -146,7 +146,7 @@ class TraceController < ApplicationController flash[:warning] = t 'trace.trace_header.traces_waiting', :count => @user.traces.count(:conditions => { :inserted => false }) end - redirect_to :action => 'mine' + redirect_to :action => :list, :display_name => @user.display_name end else @trace = Trace.new({:name => "Dummy",