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