Commit afc3c216 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #3829 from amacarthur/ruby2-fork-fix

fork failing when calling initialize_dup
parents 204bd0b0 793ab5a1
......@@ -7,8 +7,7 @@ module Projects
end
def execute
project = Project.new
project.initialize_dup(@from_project)
project = @from_project.dup
project.name = @from_project.name
project.path = @from_project.path
project.namespace = current_user.namespace
......
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