dot needs a escape.

This commit is contained in:
Saito 2012-07-02 11:07:21 +08:00
parent aefe4dc3a2
commit 82e2551833

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: '/:path', constraints: { path: /[\w-]+.git*/ } }), at: '/:path', constraints: { path: /[\w-]+\.git/ }
# #
# Help # Help