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