diff options
author | Stan Hu <stanhu@gmail.com> | 2015-07-18 07:32:18 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-07-18 07:32:18 -0700 |
commit | 875d8e7f31db88443c3c573473b496945d7673a0 (patch) | |
tree | 2cdcda9bd7c145925c49fe9fb770dfee5dc56944 /app/views | |
parent | 895d988d55f3eacac45fdc53f1699cae3af6c06d (diff) | |
download | gitlab-ce-875d8e7f31db88443c3c573473b496945d7673a0.tar.gz |
Fix bug where notes were being rendered with wrong color preferences due to caching
Closes #2008
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/notes/_note.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/notes/_note.html.haml b/app/views/projects/notes/_note.html.haml index 5478a887f91..c8d705687da 100644 --- a/app/views/projects/notes/_note.html.haml +++ b/app/views/projects/notes/_note.html.haml @@ -56,7 +56,7 @@ .note-body{class: note_editable?(note) ? 'js-task-list-container' : ''} - = cache [note, 'markdown'] do + = cache [note, 'markdown', user_color_scheme_class] do .note-text = preserve do = markdown(note.note, {no_header_anchors: true}) |