summaryrefslogtreecommitdiff
path: root/app/models/repository.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-11 19:16:59 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-11 19:16:59 +0200
commitd64090b8a9065746c6d532057228c079a1d57013 (patch)
treea97504c15dedfd470d9ffc11c51bd15a6718e8cb /app/models/repository.rb
parent8e0b58d7e7cde0d9afb93f267197f62b9b649cd3 (diff)
downloadgitlab-ce-d64090b8a9065746c6d532057228c079a1d57013.tar.gz
No gitolite in project any more
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index 6d490980764..37431fe3b0e 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -25,7 +25,7 @@ class Repository
end
def path_to_repo
- @path_to_repo ||= File.join(Gitlab.config.gitolite.repos_path, "#{path_with_namespace}.git")
+ @path_to_repo ||= File.join(Gitlab.config.gitlab_shell.repos_path, "#{path_with_namespace}.git")
end
def repo