Class: Sass::Importers::Filesystem
- Defined in:
- lib/active_admin/sass/css_loader.rb
Overview
This monkey patches the SASS filesystem importer to work with files that are named *.css.scss. This allows us to be compatible with both Rails 3.0.* and Rails 3.1
This should only be loaded in Rails 3.0 apps.
Instance Method Summary collapse
-
#extensions_with_css ⇒ Object
We want to ensure that all *.css.scss files are loaded as scss files.
Instance Method Details
#extensions_with_css ⇒ Object
We want to ensure that all *.css.scss files are loaded as scss files
11 12 13 |
# File 'lib/active_admin/sass/css_loader.rb', line 11 def extensions_with_css extensions_without_css.merge('css.scss' => :scss) end |