X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b0a84cf1bff1f4c41f30680ceffd23ea28f93479..273ae4c7299288551177cc49d07d6f6d819d97c3:/app/views/notes/index.xml.builder diff --git a/app/views/notes/index.xml.builder b/app/views/notes/index.xml.builder index 1e230b55d..c1c2be7e4 100644 --- a/app/views/notes/index.xml.builder +++ b/app/views/notes/index.xml.builder @@ -1,3 +1,5 @@ xml.instruct! -xml.notes << (render(:partial => "note", :collection => @notes) || "") +xml.osm(:version => API_VERSION, :generator => GENERATOR) do |osm| + osm << (render(:partial => "note", :collection => @notes) || "") +end