From 38973a46094ee15148b242cb24bbfca80765544d Mon Sep 17 00:00:00 2001 From: Alexey Nayden Date: Thu, 14 Apr 2011 15:50:18 +0400 Subject: [PATCH] Project creation fix --- app/models/project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/project.rb b/app/models/project.rb index f4f0e122d..b5b948a84 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -59,7 +59,7 @@ class Project < ActiveRecord::Base end def xml_rpc_create - result = BuildServer.create_project unixname, platform.unixname, repository.unixname + result = BuildServer.create_project unixname, repository.platform.unixname, repository.unixname if result == BuildServer::SUCCESS return true else