Redmine/app/views/roles/index.api.rsb

9 lines
124 B
Plaintext
Raw Normal View History

api.array :roles do
@roles.each do |role|
api.role do
api.id role.id
api.name role.name
end
end
end