]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/nodes/index.xml.builder
Simplify partial rendering
[rails.git] / app / views / api / nodes / index.xml.builder
index 5c73c219365ea2cd8bafe2a8b52ecc0d65552ef8..1968de97a73ac8bb80354866beaaa19c631f5a3f 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/node", :collection => @nodes) || "")
+  osm << (render(@nodes) || "")
 end
 end