• Robert Speicher's avatar
    Remove user_color_scheme_class · 2c3e42e4
    Robert Speicher authored
    Instead of rendering this value server-side, we use Javascript and Gon
    to apply the user's color scheme (or the default) to any syntax
    highlighted code blocks.
    
    This will make it easier to cache these blocks in the future because
    they're no longer state-dependent.
    2c3e42e4
preferences_helper.rb 1.13 KB