summaryrefslogtreecommitdiff
path: root/app/serializers
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2018-05-30 12:31:15 +0000
committerSean McGivern <sean@mcgivern.me.uk>2018-05-30 12:31:15 +0000
commit37613eaa060b39a8862d27b10fbbe7ed6fd9025b (patch)
treed699dd7c413b067ef6200f355006a509b091d262 /app/serializers
parentb703e907c9802e92b1cdeff5a0e5f138de950264 (diff)
parentdf98eeabe481228d8befaf137deca5def64fd3bc (diff)
downloadgitlab-ce-37613eaa060b39a8862d27b10fbbe7ed6fd9025b.tar.gz
Merge branch 'bvl-group-shared-projects-private-api' into 'master'
Add `shared_projects` endpoint Closes #46800 See merge request gitlab-org/gitlab-ce!19141
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/group_child_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/group_child_entity.rb b/app/serializers/group_child_entity.rb
index 15ec0f89bb2..ee150eefd9e 100644
--- a/app/serializers/group_child_entity.rb
+++ b/app/serializers/group_child_entity.rb
@@ -31,7 +31,7 @@ class GroupChildEntity < Grape::Entity
end
# Project only attributes
- expose :star_count,
+ expose :star_count, :archived,
if: lambda { |_instance, _options| project? }
# Group only attributes