diff --git a/app/models/project.rb b/app/models/project.rb index a539d7813..2f3887ef8 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -134,7 +134,7 @@ class Project < ActiveRecord::Base end def xml_rpc_create - result = BuildServer.create_project unixname, "#{owner.uname}_personal", 'main' + result = BuildServer.create_project unixname, "#{owner.uname}_personal", 'main', path if result == BuildServer::SUCCESS return true else diff --git a/app/models/project_to_repository.rb b/app/models/project_to_repository.rb index 598b64f7b..b64a371bd 100644 --- a/app/models/project_to_repository.rb +++ b/app/models/project_to_repository.rb @@ -5,9 +5,9 @@ class ProjectToRepository < ActiveRecord::Base delegate :path, :to => :project #before_save :create_link - before_save :add_compability_link + #before_save :add_compability_link #after_destroy :remove_link - after_destroy :remove_compability_link + #after_destroy :remove_compability_link after_create lambda { project.xml_rpc_create