X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0c8ad2f86edefed72052b402742cadedb0d674d9..1e3a35f9713631122dbe736d56aff5e5326aca52:/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..c1c2be7e4 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(:version => API_VERSION, :generator => GENERATOR) do |osm| + osm << (render(:partial => "note", :collection => @notes) || "") +end