]> git.openstreetmap.org Git - rails.git/blob - app/views/api/permissions.builder
Fix most auto-correctable rubocop issues
[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