]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/ways/full.xml.builder
Localisation updates from https://translatewiki.net.
[rails.git] / app / views / api / ways / full.xml.builder
index 93ca2c0874d81e50e237d2cb1606480f69689c6c..025291638c7efeda7ec9a1efb740d6037bddc908 100644 (file)
@@ -1,6 +1,6 @@
 xml.instruct!
 
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
-  osm << (render(:partial => "api/map/node", :collection => @nodes) || "")
-  osm << (render(:partial => "api/map/way", :collection => @ways) || "")
+  osm << (render(@nodes) || "")
+  osm << (render(@way) || "")
 end