From: Tom Hughes Date: Fri, 6 Aug 2010 08:59:11 +0000 (+0100) Subject: Really fix the redirect on trace deletion X-Git-Tag: live~6273^2~30 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/1ba40521af808fff00ee30fa73a2300c566050a9 Really fix the redirect on trace deletion --- diff --git a/app/controllers/trace_controller.rb b/app/controllers/trace_controller.rb index b19e4d8b6..4c7df5502 100644 --- a/app/controllers/trace_controller.rb +++ b/app/controllers/trace_controller.rb @@ -206,7 +206,7 @@ class TraceController < ApplicationController trace.visible = false trace.save flash[:notice] = t 'trace.delete.scheduled_for_deletion' - redirect_to :action => :mine, :display_name => @user.display_name + redirect_to :action => :view, :display_name => @user.display_name, :id => nil else render :nothing => true, :status => :bad_request end