Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2018-05-29 12:50:19 +0300
committerToon Claes <toon@gitlab.com>2018-05-30 13:06:18 +0300
commitdf98eeabe481228d8befaf137deca5def64fd3bc (patch)
treeb5c72aba14f56b0b4b65c3bd019a6a2a37a3e4f8 /app/serializers/group_child_entity.rb
parent1298fbe18d648a206f42d9e2737ee30acffcbf38 (diff)
Add archived param to the json response
Diffstat (limited to 'app/serializers/group_child_entity.rb')
-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