]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/index.xml.builder
Use full list of osm xml root attributes in builder templates
[rails.git] / app / views / notes / index.xml.builder
index 1e230b55dca3f5e42bc58d16e9fab4c0577c9608..286b1e1ccecd0b8513e77d41bc442aff826e21a1 100644 (file)
@@ -1,3 +1,5 @@
 xml.instruct!
 
-xml.notes << (render(:partial => "note", :collection => @notes) || "")
+xml.osm(OSM::API.new.xml_root_attributes) do |osm|
+  osm << (render(:partial => "note", :collection => @notes) || "")
+end