summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Rosenögger <123haynes@gmail.com>2015-07-21 13:59:14 +0200
committerValery Sizov <vsv2711@gmail.com>2015-07-23 11:05:32 +0300
commitb132127f5c4ed30fbcaef7bdd2314793cc5861fb (patch)
tree64afb80950524b4a277949d15fd2c9e69c57e049
parent94a9442722deb8c381ba581213c497365872befd (diff)
downloadgitlab-ce-b132127f5c4ed30fbcaef7bdd2314793cc5861fb.tar.gz
revert caching of note text
-rw-r--r--app/views/projects/notes/_note.html.haml7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/projects/notes/_note.html.haml b/app/views/projects/notes/_note.html.haml
index c8d705687da..4a1009686c6 100644
--- a/app/views/projects/notes/_note.html.haml
+++ b/app/views/projects/notes/_note.html.haml
@@ -56,10 +56,9 @@
.note-body{class: note_editable?(note) ? 'js-task-list-container' : ''}
- = cache [note, 'markdown', user_color_scheme_class] do
- .note-text
- = preserve do
- = markdown(note.note, {no_header_anchors: true})
+ .note-text
+ = preserve do
+ = markdown(note.note, {no_header_anchors: true})
= render 'projects/notes/edit_form', note: note
- if note.attachment.url