view .svn/pristine/eb/ebee8a410024219711aabb821001f5959f452cfb.svn-base @ 1298:4f746d8966dd redmine_2.3_integration

Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author Chris Cannam
date Fri, 14 Jun 2013 09:28:30 +0100
parents 622f24f53b42
children
line wrap: on
line source
api.role do
  api.id @role.id
  api.name @role.name
  api.array :permissions do
    @role.permissions.each do |perm|
      api.permission(perm.to_s)
    end
  end
end