X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8090e086daad67eac711ad6fd6a5eba6f28d44fd..6c2432ae423c6744b8443c63d0e02e1ccc2d3011:/app/views/notes/index.xml.builder?ds=inline 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