]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/map/index.xml.builder
Merge remote-tracking branch 'upstream/pull/3300'
[rails.git] / app / views / api / map / index.xml.builder
index bd70f20bdcbeb53c3816eca1254c867d4a069618..d7fb7e7fc637045630a42ccf474dae4481596808 100644 (file)
@@ -1,8 +1,8 @@
 xml.instruct!
 
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
-  osm << (render(:partial => "bounds") || "")
-  osm << (render(:partial => "node", :collection => @nodes) || "")
-  osm << (render(:partial => "way", :collection => @ways) || "")
-  osm << (render(:partial => "relation", :collection => @relations) || "")
+  osm << (render(:partial => "bounds", :object => @bounds) || "")
+  osm << (render(@nodes) || "")
+  osm << (render(@ways) || "")
+  osm << (render(@relations) || "")
 end