Backports EE 2756 logic to CE.
This commit is contained in:
parent
d546f7d36e
commit
b7048c091a
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