]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/permissions.builder
Merge remote-tracking branch 'upstream/pull/2109'
[rails.git] / app / views / api / permissions.builder
index 066f5678877965f76ba3915ec50d76867015d270..f97dd55f88fbbe0c83cde0ee0653ccfcc76a80f4 100644 (file)
@@ -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