X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/083500f056f5b995f1979f88b37793046d9e4d37..6c2432ae423c6744b8443c63d0e02e1ccc2d3011:/app/views/users/api_users.builder?ds=sidebyside diff --git a/app/views/users/api_users.builder b/app/views/users/api_users.builder index 1d2475743..a3c0f4d9a 100644 --- a/app/views/users/api_users.builder +++ b/app/views/users/api_users.builder @@ -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