debian-mirror-gitlab/app/services/boards/lists/list_service.rb

12 lines
222 B
Ruby
Raw Normal View History

2016-11-03 12:29:30 +05:30
module Boards
module Lists
class ListService < BaseService
def execute(board)
2017-09-10 17:25:29 +05:30
board.lists.create(list_type: :backlog) unless board.lists.backlog.exists?
2016-11-03 12:29:30 +05:30
board.lists
end
end
end
end