]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/notes/show.gpx.builder
Localisation updates from https://translatewiki.net.
[rails.git] / app / views / api / notes / show.gpx.builder
index f87ff4dd947ba2f8f323287e6a9916cbe04644d0..750d01f562a4265e2a08dd934913b629e12275cd 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
         "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", :object => @note)
+  xml << render(@note)
 end
 end