2015-07-29 09:59:52 -07:00
|
|
|
# Cache theme CSS if in production
|
2015-08-24 12:54:56 -07:00
|
|
|
$__THEME_CSS_CACHE_V1 = if Rails.env == 'production'
|
2015-07-29 09:59:52 -07:00
|
|
|
File.read Rails.root.join 'app/views/user/theme.css.scss.erb'
|
2015-08-24 12:54:56 -07:00
|
|
|
else
|
|
|
|
nil
|
2015-07-29 09:59:52 -07:00
|
|
|
end.freeze
|