flash[:warning] = t 'trace.trace_header.traces_waiting', :count => @user.traces.count(:conditions => { :inserted => false })
end
- redirect_to :action => 'mine'
+ redirect_to :action => :list, :display_name => @user.display_name
end
else
@trace = Trace.new({:name => "Dummy",
trace.visible = false
trace.save
flash[:notice] = t 'trace.delete.scheduled_for_deletion'
- redirect_to :controller => 'traces', :action => 'mine'
+ redirect_to :action => :view, :display_name => @user.display_name, :id => nil
else
render :nothing => true, :status => :bad_request
end