Skip to content

Commit 07ee732

Browse files
committed
Merge branch 'master' into sprockets-3-beta-test
2 parents c7b4d07 + 609828f commit 07ee732

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
Rails.application.assets.register_postprocessor 'text/css', :postprocessor do |context, css|
2-
css.gsub /@import/, 'fail engine'
1+
Rails.application.config.assets.configure do |env|
2+
env.register_postprocessor 'text/css', :postprocessor do |context, css|
3+
css.gsub /@import/, 'fail engine'
4+
end
35
end

0 commit comments

Comments
 (0)