]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/relations/relations_for_relation.xml.builder
Add social sharing functionality
[rails.git] / app / views / api / relations / relations_for_relation.xml.builder
index a753e8ea887f2f4395b64bd475b21acb900800a2..f39a20bb937a3fd9c5ece31fcd024a83c7b22a6d 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/relation", :collection => @relations) || "")
+  osm << (render(@relations) || "")
 end
 end