Commit 988c611b authored by Douwe Maan's avatar Douwe Maan

Merge branch '2756-ee-to-ce-backport' into 'master'

Backports EE 2756 logic to CE.

See merge request !13892
parents 11d2ac1f b7048c09
......@@ -44,6 +44,8 @@ module Projects
@project.namespace_id = current_user.namespace_id
end
yield(@project) if block_given?
@project.creator = current_user
if forked_from_project_id
......
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