diff options
author | Hannes Rosenögger <123haynes@gmail.com> | 2015-07-21 13:59:14 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-07-23 11:05:32 +0300 |
commit | b132127f5c4ed30fbcaef7bdd2314793cc5861fb (patch) | |
tree | 64afb80950524b4a277949d15fd2c9e69c57e049 | |
parent | 94a9442722deb8c381ba581213c497365872befd (diff) | |
download | gitlab-ce-b132127f5c4ed30fbcaef7bdd2314793cc5861fb.tar.gz |
revert caching of note text
-rw-r--r-- | app/views/projects/notes/_note.html.haml | 7 |
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 |