summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-07-18 07:32:18 -0700
committerStan Hu <stanhu@gmail.com>2015-07-18 07:32:18 -0700
commit875d8e7f31db88443c3c573473b496945d7673a0 (patch)
tree2cdcda9bd7c145925c49fe9fb770dfee5dc56944 /app
parent895d988d55f3eacac45fdc53f1699cae3af6c06d (diff)
downloadgitlab-ce-875d8e7f31db88443c3c573473b496945d7673a0.tar.gz
Fix bug where notes were being rendered with wrong color preferences due to caching
Closes #2008
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/notes/_note.html.haml2
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})