]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/map/index.xml.builder
Localisation updates from https://translatewiki.net.
[rails.git] / app / views / api / map / index.xml.builder
index 841ea8384d73f145ff10f9f416d78e6301271a73..d7fb7e7fc637045630a42ccf474dae4481596808 100644 (file)
@@ -2,7 +2,7 @@ xml.instruct!
 
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
   osm << (render(:partial => "bounds", :object => @bounds) || "")
-  osm << (render(:partial => "node", :collection => @nodes) || "")
-  osm << (render(:partial => "way", :collection => @ways) || "")
-  osm << (render(:partial => "relation", :collection => @relations) || "")
+  osm << (render(@nodes) || "")
+  osm << (render(@ways) || "")
+  osm << (render(@relations) || "")
 end