Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2015-08-31 16:30:15 +0300
committerJacob Vosmaer <contact@jacobvosmaer.nl>2015-08-31 16:30:15 +0300
commit4027a26e7b5a1a2a54dd57e480507095c91af26b (patch)
tree7cc1f7b50cf156f43918b7fbb57ca34af14b72ae /config
parent1081a322f1b846fcddb3cb77f068e2e818f9d73f (diff)
Replace grack with gitlab-git-http-server
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 8ba439f08b8..920ece518ea 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -30,12 +30,7 @@ Gitlab::Application.routes.draw do
end
# Enable Grack support
- mount Grack::Bundle.new({
- git_path: Gitlab.config.git.bin_path,
- 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) }, via: [:get, :post]
+ mount Grack::Auth.new({}), at: '/', constraints: lambda { |request| /[-\/\w\.]+\.git\//.match(request.path_info) }, via: [:get, :post]
# Help
get 'help' => 'help#index'