You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/app/views/groups/index.api.rsb

11 lines
219 B

6 years ago
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