fork failing when calling initialize_dup
initialize_dup has been made private as of ruby 2.0.0. I have corrected it to call the publicly available dup method
This commit is contained in:
parent
204bd0b066
commit
793ab5a1ab
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue