Commit c620ca03 authored by Phil Hughes's avatar Phil Hughes

resolve app/services/boards/create_service.rb

[ci skip]
parent dc094260
......@@ -3,18 +3,10 @@ module Boards
def execute
board = project.boards.create(params)
<<<<<<< HEAD
if board.persisted?
board.lists.create(list_type: :backlog)
board.lists.create(list_type: :closed)
end
=======
private
def create_board!
board = project.boards.create
board.lists.create(list_type: :backlog)
board.lists.create(list_type: :closed)
>>>>>>> ce-com/master
board
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment