提交 85418f9a 编写于 作者: S Sean McGivern

Merge branch 'osw-order-boards-by-name' into 'master'

[Backport] Order boards dropdown alphabetically

See merge request gitlab-org/gitlab-ce!18065
......@@ -2,11 +2,15 @@ module Boards
class ListService < Boards::BaseService
def execute
create_board! if parent.boards.empty?
parent.boards
boards
end
private
def boards
parent.boards
end
def create_board!
Boards::CreateService.new(parent, current_user).execute
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册