diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-12-14 03:26:05 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-12-14 03:26:05 +0300 |
commit | 0087396036b265879771380e60787e2072318fd1 (patch) | |
tree | 3fc6c2c7024098cf5252f777140881fce88e39f6 /app | |
parent | de9b380e73992de3c76d965f3843d269a03f97f8 (diff) | |
parent | fa7b4eca877576936c7af686531603b89cbd9f45 (diff) |
Merge branch 'bw-fix-missing-board-milestone' into 'master'
Fix Issue boards don't show milestone in issue details
See merge request gitlab-org/gitlab-ce!23813
Diffstat (limited to 'app')
-rw-r--r-- | app/serializers/issue_board_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/issue_board_entity.rb b/app/serializers/issue_board_entity.rb index 58ab804a3c8..e3dc43240c6 100644 --- a/app/serializers/issue_board_entity.rb +++ b/app/serializers/issue_board_entity.rb @@ -17,7 +17,7 @@ class IssueBoardEntity < Grape::Entity end expose :milestone, expose_nil: false do |issue| - API::Entities::Project.represent issue.milestone, only: [:id, :title] + API::Entities::Milestone.represent issue.milestone, only: [:id, :title] end expose :assignees do |issue| |