Commit 9c6a532e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Add /-/ scope to link_reference_pattern

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent c1b142b8
...@@ -73,6 +73,7 @@ module Referable ...@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment