Sprockets/Asset Pipeline in Rails 2.3

前端 未结 2 499
抹茶落季
抹茶落季 2021-01-15 02:14

I\'ve followed the very thorough instructions below to add sprockets/asset pipeline to a legacy Rails 2.3.18 application I\'m working on:

http://jaredonline.github.i

2条回答
  •  甜味超标
    2021-01-15 02:50

    Looking at the code in Sprockets 2, I see manifest.compile accepts an argument. Browsing the code it looks like the argument is a kind of filter you can use on your assets. I didn't try or test anything with it, but maybe it gives you a starting point.

提交回复
热议问题