X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ad4ab4603b27f2e89e4bb4a709bc04a6685ba67b..6bc4b207315992645292c7b3bfc0cfbef87c152f:/app/views/api/changesets/index.xml.builder?ds=inline 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