X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1ba40521af808fff00ee30fa73a2300c566050a9..047027c95d8e886a653229ff69c303e81590b30f:/app/controllers/trace_controller.rb diff --git a/app/controllers/trace_controller.rb b/app/controllers/trace_controller.rb index 4c7df5502..60b6502e2 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 => :view, :display_name => @user.display_name, :id => nil + redirect_to :action => :list, :display_name => @user.display_name else render :nothing => true, :status => :bad_request end