From 7888e3ae2985c4abdaeaa7b9dd6617649a19fa3d Mon Sep 17 00:00:00 2001 From: Saito Date: Fri, 29 Jun 2012 21:39:40 +0800 Subject: [PATCH] now works with git clone http://localhost/repo.git now --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index b1bd5a7b..beedb6a8 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -14,7 +14,7 @@ Gitlab::Application.routes.draw do project_root: GIT_HOST['base_path'], upload_pack: GIT_HOST['upload_pack'], receive_pack: GIT_HOST['receive_pack'] - }), at: '/git' + }), at: '/:path', constraints: { path: /[\w-]+.git*/ } # # Help