diff options
author | Saito <saitowu@gmail.com> | 2012-06-29 21:39:40 +0800 |
---|---|---|
committer | Saito <saitowu@gmail.com> | 2012-06-29 21:39:40 +0800 |
commit | 7888e3ae2985c4abdaeaa7b9dd6617649a19fa3d (patch) | |
tree | 6d8d22828ba5607659fa9391299b4e58294e8d1e /config | |
parent | 1df1daa12ee6ac9a006b86584b8ecd90cea660a7 (diff) | |
download | gitlab-ce-7888e3ae2985c4abdaeaa7b9dd6617649a19fa3d.tar.gz |
now works with git clone http://localhost/repo.git now
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index b1bd5a7b2d6..beedb6a87b2 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 |