X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/cf9cfd10a1d95889de1a5adf55abd2b168c96781..047027c95d8e886a653229ff69c303e81590b30f:/app/controllers/trace_controller.rb diff --git a/app/controllers/trace_controller.rb b/app/controllers/trace_controller.rb index 4832910c4..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 :controller => 'traces', :action => 'mine' + redirect_to :action => :list, :display_name => @user.display_name else render :nothing => true, :status => :bad_request end