lib/modular.rb in modular-grid-0.0.8 vs lib/modular.rb in modular-grid-0.0.9
- old
+ new
@@ -8,9 +8,8 @@
if defined?(Rails) && defined?(Rails::Engine)
class Engine < ::Rails::Engine
require 'modular/engine'
end
else
- modular_path = File.expand_path("../../app/assets/stylesheets", __FILE__)
- ENV["SASS_PATH"] = [ENV["SASS_PATH"], modular_path].compact.join(File::PATH_SEPARATOR)
+ Sass.load_paths << File.expand_path("../../app/assets/stylesheets", __FILE__)
end
end