]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/trace_controller.rb
Really fix the redirect on trace deletion
[rails.git] / app / controllers / trace_controller.rb
index b19e4d8b63952b5896e114ec3167bc9dae68a79a..4c7df550211aaa20a71fc3ccc51e6bda13324ec1 100644 (file)
@@ -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