Commit 379f4841 authored by Felipe Artur's avatar Felipe Artur

Fix wrong backport

parent 473666ab
......@@ -63,7 +63,7 @@ module Boards
end
def project
@project ||= Project.find(issue_params[:project_id])
board_parent
end
def move_params
......
......@@ -8,7 +8,13 @@ module EE
end
def project
@project ||= board.group_board? ? super : board.parent
@project ||= begin
if board.group_board?
::Project.find(issue_params[:project_id])
else
super
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