X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..6c2432ae423c6744b8443c63d0e02e1ccc2d3011:/app/views/api/permissions.builder?ds=sidebyside diff --git a/app/views/api/permissions.builder b/app/views/api/permissions.builder index 066f56788..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}", "generator" => "OpenStreetMap Server") do +xml.instruct! :xml, :version => "1.0" +xml.osm(OSM::API.new.xml_root_attributes) do xml.permissions do @permissions.each do |permission| xml.permission :name => permission