X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/273ae4c7299288551177cc49d07d6f6d819d97c3..24b4538f8fef9f97098a1dfd82ff56bd61103c96:/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 c1c2be7e4..286b1e1cc 100644 --- a/app/views/notes/index.xml.builder +++ b/app/views/notes/index.xml.builder @@ -1,5 +1,5 @@ xml.instruct! -xml.osm(:version => API_VERSION, :generator => GENERATOR) do |osm| +xml.osm(OSM::API.new.xml_root_attributes) do |osm| osm << (render(:partial => "note", :collection => @notes) || "") end