Commit 7888e3ae2985c4abdaeaa7b9dd6617649a19fa3d

Authored by Saito
1 parent 1df1daa1

now works with git clone http://localhost/repo.git now

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
config/routes.rb
... ... @@ -14,7 +14,7 @@ Gitlab::Application.routes.draw do
14 14 project_root: GIT_HOST['base_path'],
15 15 upload_pack: GIT_HOST['upload_pack'],
16 16 receive_pack: GIT_HOST['receive_pack']
17   - }), at: '/git'
  17 + }), at: '/:path', constraints: { path: /[\w-]+.git*/ }
18 18  
19 19 #
20 20 # Help
... ...