From 82e2551833e7d9fd704a29a022fee0ac2ba18b2f Mon Sep 17 00:00:00 2001 From: Saito Date: Mon, 2 Jul 2012 11:07:21 +0800 Subject: [PATCH] dot needs a escape. --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index beedb6a87b2..344d853c24f 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: '/:path', constraints: { path: /[\w-]+.git*/ } + }), at: '/:path', constraints: { path: /[\w-]+\.git/ } # # Help