Commit b7048c09 authored by Tiago Botelho's avatar Tiago Botelho

Backports EE 2756 logic to CE.

parent d546f7d3
......@@ -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