diff options
author | Toon Claes <toon@gitlab.com> | 2018-05-29 12:50:19 +0300 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2018-05-30 13:06:18 +0300 |
commit | df98eeabe481228d8befaf137deca5def64fd3bc (patch) | |
tree | b5c72aba14f56b0b4b65c3bd019a6a2a37a3e4f8 /app/serializers/group_child_entity.rb | |
parent | 1298fbe18d648a206f42d9e2737ee30acffcbf38 (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.rb | 2 |
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 |