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

Backports EE 2756 logic to CE.

See merge request !13892
This commit is contained in:
Douwe Maan 2017-08-30 09:45:05 +00:00
commit 988c611b68
1 changed files with 2 additions and 0 deletions

View File

@ -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