diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-29 12:13:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-29 12:13:28 +0300 |
commit | dc90e040b1da4c089e90b21809a325d67ab2c5cb (patch) | |
tree | c894e6d6e008562db76151beb771a8c3ae3260ca /app/models/concerns | |
parent | 6a4f265c940d3d0a9aeacf09222920d7d2cc4e45 (diff) |
Add latest changes from gitlab-org/gitlab@13-0-stable-ee
Diffstat (limited to 'app/models/concerns')
-rw-r--r-- | app/models/concerns/cache_markdown_field.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/cache_markdown_field.rb b/app/models/concerns/cache_markdown_field.rb index e4e0f55d5f4..04eb4659469 100644 --- a/app/models/concerns/cache_markdown_field.rb +++ b/app/models/concerns/cache_markdown_field.rb @@ -102,7 +102,7 @@ module CacheMarkdownField def updated_cached_html_for(markdown_field) return unless cached_markdown_fields.markdown_fields.include?(markdown_field) - refresh_markdown_cache if attribute_invalidated?(cached_markdown_fields.html_field(markdown_field)) + refresh_markdown_cache! if attribute_invalidated?(cached_markdown_fields.html_field(markdown_field)) cached_html_for(markdown_field) end |