view .svn/pristine/eb/ebee8a410024219711aabb821001f5959f452cfb.svn-base @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents 038ba2d95de8
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