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