]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/relations/show.xml.builder
Merge pull request #1558 from plarus/master
[rails.git] / app / views / api / relations / show.xml.builder
index a753e8ea887f2f4395b64bd475b21acb900800a2..555eb4db5f73d5a53bcd41b9222bac4f758e6003 100644 (file)
@@ -1,5 +1,5 @@
 xml.instruct!
 
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
-  osm << (render(:partial => "api/map/relation", :collection => @relations) || "")
+  osm << (render(@relation) || "")
 end