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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-24 12:08:51 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-24 12:08:51 +0300
commit38149afcf95e7669a7a99828c579d185b70c04dc (patch)
tree3a90504bd926407c0cc60f44e20dba08217b928b /app/serializers
parentbe660fe1d28a65ad61be24c71e66ae90f6488dc4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/issue_board_entity.rb3
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]