summaryrefslogtreecommitdiff
path: root/app/controllers/boards
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2018-04-04 18:43:33 -0300
committerFelipe Artur <felipefac@gmail.com>2018-04-05 14:58:49 -0300
commit22423d284704c3ec2f7715736a75155d14ff413d (patch)
treeaf4f3c9ec4e2e486af3c7d292d54d07ccc2ff741 /app/controllers/boards
parent6b3585d8ea15a7ee1a5cd2f5799caace48ab0c32 (diff)
downloadgitlab-ce-22423d284704c3ec2f7715736a75155d14ff413d.tar.gz
Show issues of subgroups in group-level issue board
Diffstat (limited to 'app/controllers/boards')
-rw-r--r--app/controllers/boards/issues_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/boards/issues_controller.rb b/app/controllers/boards/issues_controller.rb
index 19dbee84c11..7d7ff217e5d 100644
--- a/app/controllers/boards/issues_controller.rb
+++ b/app/controllers/boards/issues_controller.rb
@@ -96,7 +96,8 @@ module Boards
resource.as_json(
only: [:id, :iid, :project_id, :title, :confidential, :due_date, :relative_position],
labels: true,
- sidebar_endpoints: true,
+ issue_endpoints: true,
+ include_full_project_path: board.group_board?,
include: {
project: { only: [:id, :path] },
assignees: { only: [:id, :name, :username], methods: [:avatar_url] },