X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c9fb1466085e7822a5dff22b2a2006d02b804178..cf11913d586bf9c25f003f4acd3b114367fa4aa9:/app/views/notes/index.xml.builder?ds=sidebyside 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