X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/45e7c9a32e08446fd087580d84b2e11eadc1683d..49ba5ab6d2e98221246635327eb15dc71c97e67d:/app/views/api/map/index.xml.builder?ds=sidebyside

diff --git a/app/views/api/map/index.xml.builder b/app/views/api/map/index.xml.builder
index 841ea8384..d7fb7e7fc 100644
--- a/app/views/api/map/index.xml.builder
+++ b/app/views/api/map/index.xml.builder
@@ -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