Commit c7edc332 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Move EE changes to EE module

parent 729a4b58
......@@ -13,9 +13,6 @@ module Boards
end
def create_board!
set_assignee
set_milestone
board = parent.boards.create(params)
if board.persisted?
......
......@@ -7,6 +7,14 @@ module EE
def can_create_board?
parent.multiple_issue_boards_available? || super
end
override :create_board!
def create_board!
set_assignee
set_milestone
super
end
end
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