]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/old_nodes/version.xml.builder
Merge remote-tracking branch 'upstream/pull/2881'
[rails.git] / app / views / api / old_nodes / version.xml.builder
index fd07025dfa0924e8c9a89ddf6fd92026d8f113e7..c7b630d3adb08e10e25575eab426a6165176ce33 100644 (file)
@@ -1,5 +1,5 @@
 xml.instruct!
 
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
-  osm << (render(:partial => "old_node", :collection => @elems) || "")
+  osm << (render(@old_element) || "")
 end