]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/index.xml.builder
Merge remote-tracking branch 'upstream/pull/2109'
[rails.git] / app / views / notes / index.xml.builder
index c1c2be7e40a79d2e1eec16a6129443d2119c7f49..286b1e1ccecd0b8513e77d41bc442aff826e21a1 100644 (file)
@@ -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