diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-07 03:08:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-07 03:08:16 +0300 |
commit | b3e461ab0f3b483bf7304cba800b30f37517d557 (patch) | |
tree | fee07f6bb18a56c01883474a11235f5248eb8407 /app/models/snippet.rb | |
parent | ca3ff7f842fb1e4bf124356a6faccd3e65b7aba3 (diff) |
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 9b7c37dd23e..9ec685c5580 100644 --- a/app/models/snippet.rb +++ b/app/models/snippet.rb @@ -350,7 +350,7 @@ class Snippet < ApplicationRecord end def can_cache_field?(field) - field != :content || MarkupHelper.gitlab_markdown?(file_name) + field != :content || Gitlab::MarkupHelper.gitlab_markdown?(file_name) end def hexdigest |