mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
FIX: include theme vars in site customizations
This commit is contained in:
parent
84c6c2b48c
commit
f9deebefb9
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class SiteCustomization < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def compile_stylesheet(scss)
|
||||
DiscourseSassCompiler.compile(scss, 'custom')
|
||||
DiscourseSassCompiler.compile("@import \"theme_variables\";\n" << scss, 'custom')
|
||||
rescue => e
|
||||
puts e.backtrace.join("\n") unless Sass::SyntaxError === e
|
||||
raise e
|
||||
|
|
Loading…
Reference in a new issue