]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/changesets/index.xml.builder
Merge pull request #5034 from grischard/patch-4
[rails.git] / app / views / api / changesets / index.xml.builder
index 5ff7e262044032609666cd2deeada933bb917fb6..286f50c357cd8e1af8678dd5a0544014cb1f0c50 100644 (file)
@@ -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