retrospring/config/initializers/13_theme.rb
Yuki e7e28efcab Theme Progress
Link color
Notification dropdown text fix
Dropdown select color
Panels
Modals
Buttons, Labels and Alerts
nprogress
fix and rename __THEME_CSS_CACHE to __THEME_CSS_CACHE_V1
2015-08-25 01:26:59 +05:30

6 lines
174 B
Ruby

# Cache theme CSS if in production
$__THEME_CSS_CACHE_V1 = if Rails.env == 'production'
File.read Rails.root.join 'app/views/user/theme.css.scss.erb'
else
nil
end.freeze