xml.instruct!
xml.osm(OSM::API.new.xml_root_attributes) do |osm|
- osm << (render(:partial => "api/map/node", :collection => @nodes) || "")
- osm << (render(:partial => "api/map/way", :collection => @ways) || "")
- osm << (render(:partial => "api/map/relation", :collection => @relations) || "")
+ osm << (render(@nodes) || "")
+ osm << (render(@ways) || "")
+ osm << (render(@relations) || "")
end