diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2019-05-31 18:53:04 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2019-05-31 18:53:04 +0300 |
commit | d7b277df46ffa3723a16159878958f9a825315e6 (patch) | |
tree | 89dac0eeecb620386d36c71fca7d9e4ea33ae3da /app/models/concerns | |
parent | 5cd0e721f78310bc2bb810d17451f046270148d9 (diff) | |
parent | bd4a3b6ebfbca9663f47940ea01b8304d68e4e38 (diff) |
Merge branch 'dz-scope-project-routes-3' into 'master'
Move some project routes under - scope
See merge request gitlab-org/gitlab-ce!28830
Diffstat (limited to 'app/models/concerns')
-rw-r--r-- | app/models/concerns/referable.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/concerns/referable.rb b/app/models/concerns/referable.rb index 58143a32fdc..4a506146de3 100644 --- a/app/models/concerns/referable.rb +++ b/app/models/concerns/referable.rb @@ -73,6 +73,7 @@ module Referable (?<url> #{Regexp.escape(Gitlab.config.gitlab.url)} \/#{Project.reference_pattern} + (?:\/\-)? \/#{Regexp.escape(route)} \/#{pattern} (?<path> |