diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-24 12:08:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-24 12:08:51 +0300 |
commit | 38149afcf95e7669a7a99828c579d185b70c04dc (patch) | |
tree | 3a90504bd926407c0cc60f44e20dba08217b928b /app/serializers | |
parent | be660fe1d28a65ad61be24c71e66ae90f6488dc4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/issue_board_entity.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/serializers/issue_board_entity.rb b/app/serializers/issue_board_entity.rb index 13897279815..ea629d9d774 100644 --- a/app/serializers/issue_board_entity.rb +++ b/app/serializers/issue_board_entity.rb @@ -12,6 +12,9 @@ class IssueBoardEntity < Grape::Entity expose :project_id expose :relative_position expose :time_estimate + expose :closed do |issue| + issue.closed? + end expose :project do |issue| API::Entities::Project.represent issue.project, only: [:id, :path] |