X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c79da4746a7fcea96da37aa2021c309100762d21..83043d6f1cd85729a3f91e5c73d78a39b8ae7d04:/app/views/api/changesets/index.xml.builder?ds=sidebyside diff --git a/app/views/api/changesets/index.xml.builder b/app/views/api/changesets/index.xml.builder index 5ff7e2620..286f50c35 100644 --- a/app/views/api/changesets/index.xml.builder +++ b/app/views/api/changesets/index.xml.builder @@ -1,7 +1,4 @@ xml.instruct! :xml, :version => "1.0" - xml.osm(OSM::API.new.xml_root_attributes) do |osm| - @changesets.each do |changeset| - osm << render(changeset) - end + osm << (render(@changesets) || "") end