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