From 164341121da478c458f1fa0c6247388ca7a3e134 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 10 May 2013 21:35:00 +0100 Subject: [PATCH] Hide deleted traces in the RSS feeds --- 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 14c64d2c6..cc5d9a071 100644 --- a/app/controllers/trace_controller.rb +++ b/app/controllers/trace_controller.rb @@ -215,7 +215,7 @@ class TraceController < ApplicationController end def georss - traces = Trace.public + traces = Trace.public.visible if params[:display_name] traces = traces.joins(:user).where(:users => {:display_name => params[:display_name]}) -- 2.43.2