]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/relations/full.xml.builder
Fix missing html layout for user_mailer emails
[rails.git] / app / views / api / relations / full.xml.builder
index e7e6c92bccff84b126236048f64e169f212a65a1..e23061727c4c1d2756d5a5a3e4cd08836a3ea71e 100644 (file)
@@ -1,7 +1,7 @@
 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(:partial => "api/map/relation", :collection => @relations) || "")
+  osm << (render(@nodes) || "")
+  osm << (render(@ways) || "")
+  osm << (render(@relations) || "")
 end