]> git.openstreetmap.org Git - rails.git/commitdiff
Merge branch 'pull/5045'
authorAnton Khorev <tony29@yandex.ru>
Mon, 5 Aug 2024 23:26:41 +0000 (02:26 +0300)
committerAnton Khorev <tony29@yandex.ru>
Mon, 5 Aug 2024 23:26:41 +0000 (02:26 +0300)
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