Permalink
Browse files

Allow Sass engine as well

  • Loading branch information...
1 parent f5157ea commit 5839510e765987a1a8ef82b57060c60e17f45810 @aaronjensen aaronjensen committed Oct 31, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/sprockets/unprocessed_asset.rb
@@ -18,6 +18,7 @@ def initialize(environment, logical_path, pathname)
if @source.include?("@import")
# Process Sass and Less files, since @import is too tricky to handle properly.
allowed_engines << Sass::Rails::ScssTemplate if defined?(Sass::Rails::ScssTemplate)
+ allowed_engines << Sass::Rails::SassTemplate if defined?(Sass::Rails::SassTemplate)
allowed_engines << Less::Rails::LessTemplate if defined?(Less::Rails::LessTemplate)
processors = attributes.processors - (attributes.engines - allowed_engines)
@source = context.evaluate(pathname, :processors => processors)

0 comments on commit 5839510

Please sign in to comment.