Commit 793ab5a1 authored by Angus MacArthur's avatar Angus MacArthur

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