]> git.openstreetmap.org Git - rails.git/commitdiff
Hide deleted traces in the RSS feeds
authorTom Hughes <tom@compton.nu>
Fri, 10 May 2013 20:35:00 +0000 (21:35 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 10 May 2013 20:35:00 +0000 (21:35 +0100)
app/controllers/trace_controller.rb

index 14c64d2c67750179a70947be81c0b0c7fd51f185..cc5d9a07164d0e049b9d7f34b915837a0da7c26e 100644 (file)
@@ -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]})