]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/api_users.builder
Merge remote-tracking branch 'upstream/pull/2109'
[rails.git] / app / views / users / api_users.builder
index 1d2475743ae931c9a5eaf3a166e3688eb5112202..a3c0f4d9a493e2168e40257dbad4739ca47694de 100644 (file)
@@ -1,4 +1,4 @@
 xml.instruct! :xml, :version => "1.0"
-xml.osm("version" => API_VERSION, "generator" => GENERATOR) do |osm|
+xml.osm(OSM::API.new.xml_root_attributes) do |osm|
   osm << render(:partial => "api_user", :collection => @users)
 end