Commit 8d905f71 authored by Tiago Botelho's avatar Tiago Botelho

Adds CE to EE compatibility with 2756

parent 11eaff63
......@@ -49,7 +49,7 @@ module Projects
@project.namespace_id = current_user.namespace_id
end
yield(@project)
yield(@project) if block_given?
@project.creator = current_user
......
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