X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..6c2432ae423c6744b8443c63d0e02e1ccc2d3011:/app/views/notes/index.xml.builder diff --git a/app/views/notes/index.xml.builder b/app/views/notes/index.xml.builder index 38b239afc..286b1e1cc 100644 --- a/app/views/notes/index.xml.builder +++ b/app/views/notes/index.xml.builder @@ -1,3 +1,5 @@ xml.instruct! -xml << render(:partial => "note", :collection => @notes) +xml.osm(OSM::API.new.xml_root_attributes) do |osm| + osm << (render(:partial => "note", :collection => @notes) || "") +end