Add /-/ scope to link_reference_pattern

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2019-05-29 14:34:00 +03:00
parent c1b142b867
commit 9c6a532e7b
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ module Referable
(?<url>
#{Regexp.escape(Gitlab.config.gitlab.url)}
\/#{Project.reference_pattern}
(?:\/\-)?
\/#{Regexp.escape(route)}
\/#{pattern}
(?<path>