]> git.openstreetmap.org Git - rails.git/blob - app/views/api/permissions.builder
Require i18n-js 3.0.0.rc5.3 for proper dependency on configuration
[rails.git] / app / views / api / permissions.builder
1 # create list of permissions
2 xml.instruct! :xml, :version=>"1.0"
3 xml.osm("version" => "#{API_VERSION}", "generator" => "OpenStreetMap Server") do
4   xml.permissions do
5     @permissions.each do |permission|
6       xml.permission :name => permission
7     end
8   end
9 end