3 ms·
avand, one file in your code reads: Dir.glob("#{Rails.root}/app/stylesheets/#{params[:package]}//.css") do |filename| Don't you want to compile all SCSS files
by manume 16y ago
avand, one file in your code reads:
Dir.glob("#{Rails.root}/app/stylesheets/#{params[:package]}//.css") do |filename|
Don't you want to compile all SCSS files? Why '.css' then?
Also, wouldn't you have to exclude partials (_foo.scss)?
I had to add ':load_paths => %w(. ./app/stylesheets)' to the sass_options to get the @imports working. Did it work for you without that?