]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/old_ways/history.xml.builder
Remove simulating clicks on <a> when <li> is clicked
[rails.git] / app / views / api / old_ways / history.xml.builder
index c04d745778935e593ea15882020707eef02a3d7d..905381ce9020020a35daabcf01c3a6cc09fa9130 100644 (file)
@@ -1,5 +1,5 @@
 xml.instruct!
 
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
-  osm << (render(:partial => "old_way", :collection => @elems) || "")
+  osm << (render(@elems) || "")
 end