]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/notes/index.gpx.builder
Replace page numbers with ID based selection for diary indexes
[rails.git] / app / views / api / notes / index.gpx.builder
index 58da357da5f6daa688ed27de65f333c2c83b9858..d737752bf2cbc3eacf2d9531e858ab34e00155d0 100644 (file)
@@ -5,5 +5,5 @@ xml.gpx("version" => "1.1",
         "xmlns" => "http://www.topografix.com/GPX/1/1",
         "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",
         "xsi:schemaLocation" => "http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd") do
-  xml << (render(:partial => "note", :collection => @notes) || "")
+  xml << (render(@notes) || "")
 end