]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/relations/show.xml.builder
Remove simulating clicks on <a> when <li> is clicked
[rails.git] / app / views / api / relations / show.xml.builder
index f39a20bb937a3fd9c5ece31fcd024a83c7b22a6d..555eb4db5f73d5a53bcd41b9222bac4f758e6003 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(@relations) || "")
+  osm << (render(@relation) || "")
 end
 end