summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2018-01-05 14:17:19 +0000
committerSean McGivern <sean@mcgivern.me.uk>2018-01-05 14:17:19 +0000
commit0f33ac64428b06f194882e23f5167cb9791a7f0f (patch)
treed960a171a3cb5ccd7b7fe962006fdc83f659f360 /lib/api/entities.rb
parent3489ad77c5fac13b0f3d1c94d1c0ec452453f078 (diff)
parent55980c7eca8e82e306fb3b8ade1f4a5b68a60e9f (diff)
downloadgitlab-ce-0f33ac64428b06f194882e23f5167cb9791a7f0f.tar.gz
Merge branch 'backport-issue_3413' into 'master'
[EE-backport] Add group boards API endpoint See merge request gitlab-org/gitlab-ce!16194
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index f5fa5fef389..516d767ef5e 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -791,6 +791,8 @@ module API
class Board < Grape::Entity
expose :id
+ expose :project, using: Entities::BasicProjectDetails
+
expose :lists, using: Entities::List do |board|
board.lists.destroyable
end