summaryrefslogtreecommitdiff
path: root/lib/api/projects.rb
diff options
context:
space:
mode:
authorChristian Höltje <docwhat@gerf.org>2013-06-03 11:31:35 -0400
committerChristian Höltje <docwhat@gerf.org>2013-06-03 11:39:46 -0400
commit336750c916498e99505f593067d4eeadccb3c261 (patch)
tree43d6125b1d1efe1326ab9be8de4aafe8ea28df78 /lib/api/projects.rb
parent0447c731ba392641145ac53cb8c50fab5392cda7 (diff)
downloadgitlab-ce-336750c916498e99505f593067d4eeadccb3c261.tar.gz
user_color_scheme_class with current_user
This refactors the `user_color_scheme_class` to use a hash with a default. This prevents problems with workers that don't have access to the current_user. Fixes issue #2758
Diffstat (limited to 'lib/api/projects.rb')
0 files changed, 0 insertions, 0 deletions