Skip to content
代码片段 群组 项目
提交 ebdc3cd4 编辑于 作者: charlie ablett's avatar charlie ablett
浏览文件

Merge branch '20816-refactor-controller-action' into 'master'

Use MoveService directly

See merge request gitlab-org/gitlab!62709
No related branches found
No related tags found
无相关合并请求
......@@ -160,7 +160,7 @@ def move
new_project = Project.find(params[:move_to_project_id])
return render_404 unless issue.can_move?(current_user, new_project)
@issue = ::Issues::UpdateService.new(project: project, current_user: current_user, params: { target_project: new_project }).execute(issue)
@issue = ::Issues::MoveService.new(project: project, current_user: current_user).execute(issue, new_project)
end
respond_to do |format|
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册