summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index d6432b86007..47c8a4122f5 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -18,9 +18,9 @@ Gitlab::Application.routes.draw do
# Enable Grack support
mount Grack::Bundle.new({
git_path: Gitlab.config.git.bin_path,
- project_root: Gitlab.config.gitolite.repos_path,
- upload_pack: Gitlab.config.gitolite.upload_pack,
- receive_pack: Gitlab.config.gitolite.receive_pack
+ project_root: Gitlab.config.gitlab_shell.repos_path,
+ upload_pack: Gitlab.config.gitlab_shell.upload_pack,
+ receive_pack: Gitlab.config.gitlab_shell.receive_pack
}), at: '/', constraints: lambda { |request| /[-\/\w\.]+\.git\//.match(request.path_info) }
#