Merge branch '2756-ee-to-ce-backport' into 'master'
Backports EE 2756 logic to CE. See merge request !13892
This commit is contained in:
commit
988c611b68
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ module Projects
|
||||||
@project.namespace_id = current_user.namespace_id
|
@project.namespace_id = current_user.namespace_id
|
||||||
end
|
end
|
||||||
|
|
||||||
|
yield(@project) if block_given?
|
||||||
|
|
||||||
@project.creator = current_user
|
@project.creator = current_user
|
||||||
|
|
||||||
if forked_from_project_id
|
if forked_from_project_id
|
||||||
|
|
Loading…
Reference in a new issue