X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/15b104f4ff4614aa78c01180b6a9b89dd5a1400f..686fee43bfc1fe95e4e85e1d94fba0fe325a4ca6:/app/views/api/permissions.builder diff --git a/app/views/api/permissions.builder b/app/views/api/permissions.builder index 6d26a9e53..f97dd55f8 100644 --- a/app/views/api/permissions.builder +++ b/app/views/api/permissions.builder @@ -1,6 +1,6 @@ # create list of permissions xml.instruct! :xml, :version => "1.0" -xml.osm("version" => API_VERSION.to_s, "generator" => "OpenStreetMap Server") do +xml.osm(OSM::API.new.xml_root_attributes) do xml.permissions do @permissions.each do |permission| xml.permission :name => permission