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

This commit is contained in:
Saito 2012-06-29 21:39:40 +08:00
parent 1df1daa12e
commit 7888e3ae29

View file

@ -14,7 +14,7 @@ Gitlab::Application.routes.draw do
project_root: GIT_HOST['base_path'], project_root: GIT_HOST['base_path'],
upload_pack: GIT_HOST['upload_pack'], upload_pack: GIT_HOST['upload_pack'],
receive_pack: GIT_HOST['receive_pack'] receive_pack: GIT_HOST['receive_pack']
}), at: '/git' }), at: '/:path', constraints: { path: /[\w-]+.git*/ }
# #
# Help # Help