diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-26 00:08:43 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-26 00:08:43 +0300 |
commit | 3e2ef953d9a22cb3139e7b395a1173604c563007 (patch) | |
tree | 3e22e05affc55017866fca8ff1269b777c52595c /app/services | |
parent | 35487a1e925f7b4ec72a3d0cdde94f92582d2087 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/boards/list_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/boards/list_service.rb b/app/services/boards/list_service.rb index 8258d5d07d3..c6dfd62804f 100644 --- a/app/services/boards/list_service.rb +++ b/app/services/boards/list_service.rb @@ -2,8 +2,8 @@ module Boards class ListService < Boards::BaseService - def execute - create_board! if parent.boards.empty? + def execute(create_default_board: true) + create_board! if create_default_board && parent.boards.empty? if parent.multiple_issue_boards_available? boards |