X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be0e33862fedbf02e52a9e126cac31dfb5775b43..1fa2972bcd72a26e5b890316e39eec635aedd796:/app/views/api/notes/index.gpx.builder diff --git a/app/views/api/notes/index.gpx.builder b/app/views/api/notes/index.gpx.builder index 58da357da..d737752bf 100644 --- a/app/views/api/notes/index.gpx.builder +++ b/app/views/api/notes/index.gpx.builder @@ -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