Commit b7048c09 authored by Tiago Botelho's avatar Tiago Botelho
Browse files

Backports EE 2756 logic to CE.

parent dd5045856a7d
...@@ -44,6 +44,8 @@ def execute ...@@ -44,6 +44,8 @@ def execute
@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
......
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