diff options
author | Hannes Rosenögger <123haynes@gmail.com> | 2015-07-21 13:59:14 +0200 |
---|---|---|
committer | Hannes Rosenögger <123haynes@gmail.com> | 2015-07-21 13:59:14 +0200 |
commit | bf3b318ec561a3d8146c6bff56fe21335cab0aec (patch) | |
tree | 53276cb982645a56c6bf87b691166cf93c15dc49 /app/views/projects/notes | |
parent | 74778d70649fefd1579b4a018c4cedc43c925ab6 (diff) | |
download | gitlab-ce-bf3b318ec561a3d8146c6bff56fe21335cab0aec.tar.gz |
revert caching of note text
Diffstat (limited to 'app/views/projects/notes')
-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 |