revert caching of note text

This commit is contained in:
Hannes Rosenögger 2015-07-21 13:59:14 +02:00
parent 74778d7064
commit bf3b318ec5

View file

@ -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