fixed repo path
This commit is contained in:
parent
9513280874
commit
31fc10f595
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue