backport sass paths fix

This commit is contained in:
Nico Hagenburger 2013-01-04 21:14:19 +01:00 committed by Thomas Reynolds
parent 4ecadd8734
commit 5b8fae612e

View file

@ -28,13 +28,16 @@ module Middleman
config.environment = :development config.environment = :development
config.cache_path = sass_cache_path config.cache_path = sass_cache_path
config.sass_dir = css_dir config.sass_dir = css_dir
config.additional_import_paths = sass_assets_paths
config.css_dir = css_dir config.css_dir = css_dir
config.javascripts_dir = js_dir config.javascripts_dir = js_dir
config.fonts_dir = fonts_dir config.fonts_dir = fonts_dir
config.images_dir = images_dir config.images_dir = images_dir
config.http_path = http_prefix config.http_path = http_prefix
sass_assets_paths.each do |path|
config.add_import_path path
end
# Disable this initially, the cache_buster extension will # Disable this initially, the cache_buster extension will
# re-enable it if requested. # re-enable it if requested.
config.asset_cache_buster :none config.asset_cache_buster :none