Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-12-05 21:47:54 +0300
committerNick Thomas <nick@gitlab.com>2017-12-22 18:09:16 +0300
commita0c4f0059592c788b14f8cb71e655c05f1fc1dd7 (patch)
tree194010b7c872a2f5bb839550780fb4b5b688aa9e /app/models
parent299e04e318728d4ee5857379f8fb350c944a0b4e (diff)
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