From 1ba40521af808fff00ee30fa73a2300c566050a9 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 6 Aug 2010 09:59:11 +0100 Subject: [PATCH] Really fix the redirect on trace deletion --- app/controllers/trace_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 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 -- 2.43.2