]> git.openstreetmap.org Git - rails.git/blob - app/views/api/relations/full.xml.builder
Move xml gen. into view for (old) nodes, ways, relations, map
[rails.git] / app / views / api / relations / full.xml.builder
1 xml.instruct!
2
3 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
4   osm << (render(:partial => "api/map/node", :collection => @nodes) || "")
5   osm << (render(:partial => "api/map/way", :collection => @ways) || "")
6   osm << (render(:partial => "api/map/relation", :collection => @relations) || "")
7 end