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

11 lines
219 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
api.array :groups do
@groups.each do |group|
api.group do
api.id group.id
api.name group.lastname
render_api_custom_values group.visible_custom_field_values, api
end
end
end