dot needs a escape.

This commit is contained in:
Saito 2012-07-02 11:07:21 +08:00
parent aefe4dc3a2
commit 82e2551833
1 changed files with 1 additions and 1 deletions

View File

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