fixed repo path

This commit is contained in:
Timothy N. Tsvetkov 2011-04-15 17:49:13 +04:00
parent 9513280874
commit 31fc10f595
1 changed files with 1 additions and 1 deletions

View File

@ -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