]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/ways/show.xml.builder
Add (creator_id, id) index to blocks table
[rails.git] / app / views / api / ways / show.xml.builder
index 33818c68f5133e1cdf810b819f2e9a806f7b5a03..d520a08444376f96f25a5eb93099fb43e70bd526 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 => "api/map/way", :collection => @ways) || "")
+  osm << (render(@way) || "")
 end
 end