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 ...@@ -3,18 +3,10 @@ module Boards
def execute def execute
board = project.boards.create(params) board = project.boards.create(params)
<<<<<<< HEAD
if board.persisted? if board.persisted?
board.lists.create(list_type: :backlog)
board.lists.create(list_type: :closed) board.lists.create(list_type: :closed)
end 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 board
end 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