summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-12-05 18:47:54 +0000
committerNick Thomas <nick@gitlab.com>2017-12-22 15:09:16 +0000
commita0c4f0059592c788b14f8cb71e655c05f1fc1dd7 (patch)
tree194010b7c872a2f5bb839550780fb4b5b688aa9e /app/models
parent299e04e318728d4ee5857379f8fb350c944a0b4e (diff)
downloadgitlab-ce-a0c4f0059592c788b14f8cb71e655c05f1fc1dd7.tar.gz
Use relative URLs when linking to uploaded files
Diffstat (limited to 'app/models')
-rw-r--r--app/models/concerns/cache_markdown_field.rb2
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 90ad644ce34..4ae5dd8c677 100644
--- a/app/models/concerns/cache_markdown_field.rb
+++ b/app/models/concerns/cache_markdown_field.rb
@@ -11,7 +11,7 @@ module CacheMarkdownField
extend ActiveSupport::Concern
# Increment this number every time the renderer changes its output
- CACHE_VERSION = 2
+ CACHE_VERSION = 3
# changes to these attributes cause the cache to be invalidates
INVALIDATED_BY = %w[author project].freeze