diff options
Diffstat (limited to 'app/views/groups/index.api.rsb')
-rw-r--r-- | app/views/groups/index.api.rsb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/groups/index.api.rsb b/app/views/groups/index.api.rsb new file mode 100644 index 000000000..6a4efeaf7 --- /dev/null +++ b/app/views/groups/index.api.rsb @@ -0,0 +1,10 @@ +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 |