]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/ways/show.xml.builder
Merge remote-tracking branch 'upstream/pull/4944'
[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