diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-16 21:09:04 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-16 21:09:04 +0300 |
commit | b58ab6c33c0369e402109d5388d4f6f73b7eb2bb (patch) | |
tree | b4f09ac9cf03dd11328050ab1e26df5fad351695 /app/models/blob_viewer | |
parent | 3940f59a61a749824aa4425ebdcaed6f3ed601f2 (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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/blob_viewer/markup.rb b/app/models/blob_viewer/markup.rb index c899ac514d3..37a8e01d0f1 100644 --- a/app/models/blob_viewer/markup.rb +++ b/app/models/blob_viewer/markup.rb @@ -14,7 +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) + if Feature.enabled?(:cached_markdown_blob, blob.project, default_enabled: true) h[:cache_key] = ['blob', blob.id, 'commit', blob.commit_id] end end |