Rails 3.1 and jquery-ui assets

后端 未结 8 1827
小鲜肉
小鲜肉 2020-12-02 05:10

This was asked in another question, but none of the solutions appear to work for me in 3.1rc1.

I\'m trying to use the new assets stuff in rails 3.1 - I have the file

8条回答
  •  萌比男神i
    2020-12-02 05:33

    if you use this:

    https://github.com/carlhoerberg/sprockets-urlrewriter

    i believe you can just dump the whole shebang in a directory and require the css file... it will smoothly rewrite the relative urls.

    you just have to install the gem and add a config line to application.rb

提交回复
热议问题