X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b8a8a88004d25837a10436fdc13128146b32c32b..24b4538f8fef9f97098a1dfd82ff56bd61103c96:/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