diff options
author | Valery Sizov <valery@gitlab.com> | 2015-07-19 09:19:30 +0000 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-07-19 09:19:30 +0000 |
commit | e8aaf5680355b2a71ab85439f653a70f4b487e0b (patch) | |
tree | c62df43bf05403d91e31bdb04f3950d6bfc180a1 /app/models/ability.rb | |
parent | 247609a3d8fc9c1b5cf728fdbea303a15ec640db (diff) | |
parent | 875d8e7f31db88443c3c573473b496945d7673a0 (diff) | |
download | gitlab-ce-e8aaf5680355b2a71ab85439f653a70f4b487e0b.tar.gz |
Merge branch 'fix-mixed-color-preview' into 'master'
Fix bug where notes were being rendered with wrong color preferences due to caching
### What does this MR do?
This MR adds the user's color preferences as part of the caching key for notes.
### Why was this MR needed?
This should fix a bug introduced via 4d80360b where notes were being loaded from the cache without regard to the current user's color scheme.
### What are the relevant issue numbers?
Closes #2008
See merge request !994
Diffstat (limited to 'app/models/ability.rb')
0 files changed, 0 insertions, 0 deletions