diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-07 00:07:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-07 00:07:42 +0000 |
commit | defeeba1a8d6fa8784db1c50ca4ff9e8b56f539c (patch) | |
tree | da50633fb0b41bd238a1b972c69488073599fe28 /app/models/snippet.rb | |
parent | 8ec004d6d8d92f00d0598e94ede4d31ab1e8f18e (diff) | |
download | gitlab-ce-defeeba1a8d6fa8784db1c50ca4ff9e8b56f539c.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/snippet.rb')
-rw-r--r-- | app/models/snippet.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/snippet.rb b/app/models/snippet.rb index 9ec685c5580..66d5c3ac801 100644 --- a/app/models/snippet.rb +++ b/app/models/snippet.rb @@ -183,7 +183,7 @@ class Snippet < ApplicationRecord end def link_reference_pattern - @link_reference_pattern ||= super("snippets", /(?<snippet>\d+)/) + @link_reference_pattern ||= compose_link_reference_pattern('snippets', /(?<snippet>\d+)/) end def find_by_id_and_project(id:, project:) |