X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c2c58921122318a63828bf63a52bf1dd8d0fbd2b..18409c05ab43a2f818f6db911ae383eb0ebfb07d:/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