Add /-/ scope to link_reference_pattern
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
c1b142b867
commit
9c6a532e7b
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ module Referable
|
||||||
(?<url>
|
(?<url>
|
||||||
#{Regexp.escape(Gitlab.config.gitlab.url)}
|
#{Regexp.escape(Gitlab.config.gitlab.url)}
|
||||||
\/#{Project.reference_pattern}
|
\/#{Project.reference_pattern}
|
||||||
|
(?:\/\-)?
|
||||||
\/#{Regexp.escape(route)}
|
\/#{Regexp.escape(route)}
|
||||||
\/#{pattern}
|
\/#{pattern}
|
||||||
(?<path>
|
(?<path>
|
||||||
|
|
Loading…
Reference in a new issue