lib/sass_support.rb in elia-1.2.0 vs lib/sass_support.rb in elia-2.3.2

- old
+ new

@@ -1,3 +1,7 @@ -require 'haml' +require 'sass' +require 'sass/plugin' -Sass::Plugin.options[:loadpaths] << File.dirname(__FILE__) + '/sass_support' \ No newline at end of file +Sass::Plugin.instance_eval { + @options[:load_paths] ||= [] + @options[:load_paths] << File.join( File.dirname(__FILE__), 'sass_support' ) +}