X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/363155a2a86796d27ee9161f1ee9b74d6fa307e5..40e8482825187b61538ebedaf8431c7713f54138:/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 bd70f20bd..d7fb7e7fc 100644 --- a/app/views/api/map/index.xml.builder +++ b/app/views/api/map/index.xml.builder @@ -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