X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..dfa2fd7d3d969cb196692dc3e7692153ae6ea5b8:/app/views/notes/index.xml.builder 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