summaryrefslogtreecommitdiff
path: root/lib/gitlab/path_regex.rb
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2018-02-02 15:27:30 +0000
committerTiago Botelho <tiagonbotelho@hotmail.com>2018-02-05 16:12:38 +0000
commit91c12da9033805d54c32f6081103d0d139dd22b7 (patch)
treed280a30efaea0c071e1a85225242283c951ea926 /lib/gitlab/path_regex.rb
parentfb8fed954cf4b97f76316f8b160069f1fcf03d92 (diff)
downloadgitlab-ce-26388-refactor-proposal.tar.gz
Adds proposal for 26388 refactor26388-refactor-proposal
Diffstat (limited to 'lib/gitlab/path_regex.rb')
-rw-r--r--lib/gitlab/path_regex.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/path_regex.rb b/lib/gitlab/path_regex.rb
index c6a594d38d1..111c9f20049 100644
--- a/lib/gitlab/path_regex.rb
+++ b/lib/gitlab/path_regex.rb
@@ -188,7 +188,7 @@ module Gitlab
end
def full_project_git_path_regex
- @full_project_git_path_regex ||= /\A\/?(?<namespace_path>#{full_namespace_route_regex})\/(?<project_path>#{project_git_route_regex})\z/.freeze
+ @full_project_git_path_regex ||= /\A\/?(?<namespace_path>#{full_namespace_route_regex})\/(?<project_path>#{project_route_regex})\.git\z/.freeze
end
def full_namespace_format_regex