summaryrefslogtreecommitdiffstats
path: root/app/views/groups
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/groups')
-rw-r--r--app/views/groups/show.api.rsb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/show.api.rsb b/app/views/groups/show.api.rsb
index 764bdceda..626474410 100644
--- a/app/views/groups/show.api.rsb
+++ b/app/views/groups/show.api.rsb
@@ -8,7 +8,7 @@ api.group do
@group.users.each do |user|
api.user :id => user.id, :name => user.name
end
- end
+ end if include_in_api_response?('users')
api.array :memberships do
@group.memberships.each do |membership|