Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSaito <saitowu@gmail.com>2012-07-02 07:07:21 +0400
committerSaito <saitowu@gmail.com>2012-07-02 07:07:21 +0400
commit82e2551833e7d9fd704a29a022fee0ac2ba18b2f (patch)
tree01a01502c53d7db3f89768f1479a00e54c83c020 /config
parentaefe4dc3a2668ec12782f7ac1a245effb60b9339 (diff)
dot needs a escape.
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
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