summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorMario de la Ossa <mariodelaossa@gmail.com>2019-06-18 19:28:18 -0600
committerMario de la Ossa <mariodelaossa@gmail.com>2019-06-20 10:15:59 -0600
commit35a39c1d3476f0398a2846772e075b9a003bd623 (patch)
treed05c573104c889b138cfd3a22271bcce154c1abe /app/models
parentba952d53c5782e49b59ba3e5dd89c2c1eca02c80 (diff)
downloadgitlab-ce-35a39c1d3476f0398a2846772e075b9a003bd623.tar.gz
Do not rewrite relative links for system notesbug/63162-duplicate_path_in_links
Diffstat (limited to 'app/models')
-rw-r--r--app/models/note.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/note.rb b/app/models/note.rb
index 15271c68a9e..b55af7d9b5e 100644
--- a/app/models/note.rb
+++ b/app/models/note.rb
@@ -457,7 +457,7 @@ class Note < ApplicationRecord
end
def banzai_render_context(field)
- super.merge(noteable: noteable)
+ super.merge(noteable: noteable, system_note: system?)
end
def retrieve_upload(_identifier, paths)