]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/old_relations/version.xml.builder
Merge pull request #3657 from Mortein/patch-1
[rails.git] / app / views / api / old_relations / version.xml.builder
index 7e01b24905e91fb81219ab7e14cc702c5c702569..c7b630d3adb08e10e25575eab426a6165176ce33 100644 (file)
@@ -1,5 +1,5 @@
 xml.instruct!
 
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
-  osm << (render(:partial => "old_relation", :collection => @elems) || "")
+  osm << (render(@old_element) || "")
 end