summaryrefslogtreecommitdiff
path: root/app/serializers/group_entity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/group_entity.rb')
-rw-r--r--app/serializers/group_entity.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/serializers/group_entity.rb b/app/serializers/group_entity.rb
index 0e1bc9a6b3d..66919c49320 100644
--- a/app/serializers/group_entity.rb
+++ b/app/serializers/group_entity.rb
@@ -40,10 +40,6 @@ class GroupEntity < Grape::Entity
GroupsFinder.new(request.current_user, parent: group).execute.any?
end
- expose :number_projects_with_delimiter do |group|
- number_with_delimiter(GroupProjectsFinder.new(group: group, current_user: request.current_user).execute.count)
- end
-
expose :number_users_with_delimiter do |group|
number_with_delimiter(group.users.count)
end