]> git.openstreetmap.org Git - rails.git/blob - app/views/api/relations/full.xml.builder
e7e6c92bccff84b126236048f64e169f212a65a1
[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