]> git.openstreetmap.org Git - rails.git/blob - app/views/api/map/index.xml.builder
Simplify partial rendering
[rails.git] / app / views / api / map / index.xml.builder
1 xml.instruct!
2
3 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
4   osm << (render(:partial => "bounds", :object => @bounds) || "")
5   osm << (render(@nodes) || "")
6   osm << (render(@ways) || "")
7   osm << (render(@relations) || "")
8 end