diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-05 12:07:37 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-05 12:07:37 +0300 |
commit | cf98b5d69a84324cad0f23b786a0ec0937c90944 (patch) | |
tree | 96a65fa7e9f4560ca87fd3db9e9072ae46e14639 /app/models/blob_viewer | |
parent | 5fd38b5f78df56538ff4362f7be734c65891f2d8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/blob_viewer')
-rw-r--r-- | app/models/blob_viewer/markup.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/models/blob_viewer/markup.rb b/app/models/blob_viewer/markup.rb index 37a8e01d0f1..6f002a6b224 100644 --- a/app/models/blob_viewer/markup.rb +++ b/app/models/blob_viewer/markup.rb @@ -14,9 +14,7 @@ module BlobViewer {}.tap do |h| h[:rendered] = blob.rendered_markup if blob.respond_to?(:rendered_markup) - if Feature.enabled?(:cached_markdown_blob, blob.project, default_enabled: true) - h[:cache_key] = ['blob', blob.id, 'commit', blob.commit_id] - end + h[:cache_key] = ['blob', blob.id, 'commit', blob.commit_id] end end end |