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

9 lines
124 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
api.array :roles do
@roles.each do |role|
api.role do
api.id role.id
api.name role.name
end
end
end