]> git.openstreetmap.org Git - rails.git/blob - app/views/api/permissions/show.xml.builder
Move sidebar pagination to helpers
[rails.git] / app / views / api / permissions / show.xml.builder
1 # create list of permissions
2 xml.instruct! :xml, :version => "1.0"
3 xml.osm(OSM::API.new.xml_root_attributes) do
4   xml.permissions do
5     @permissions.each do |permission|
6       xml.permission :name => permission
7     end
8   end
9 end