From 31fc10f595156aee0f3a16cf15accd752ba37d44 Mon Sep 17 00:00:00 2001 From: "Timothy N. Tsvetkov" Date: Fri, 15 Apr 2011 17:49:13 +0400 Subject: [PATCH] fixed repo path --- 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 77491534f..9a005106e 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -15,7 +15,7 @@ class Project < ActiveRecord::Base # Redefining a method from Project::HasRepository module to reflect current situation def git_repo_path - @git_repo_path ||= File.join(path, unixname + ".git") + @git_repo_path ||= File.join(repository.platform, "projects", unixname + ".git") end def path