]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/old_relations/history.xml.builder
Merge pull request #5362 from AntonKhorev/color-mode-preference-map
[rails.git] / app / views / api / old_relations / history.xml.builder
index 7e01b24905e91fb81219ab7e14cc702c5c702569..905381ce9020020a35daabcf01c3a6cc09fa9130 100644 (file)
@@ -1,5 +1,5 @@
 xml.instruct!
 
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
 xml.instruct!
 
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
-  osm << (render(:partial => "old_relation", :collection => @elems) || "")
+  osm << (render(@elems) || "")
 end
 end