阅读背景:

在CSS中访问Rails控制器实例变量

来源:互联网 

So I've seen lots of discussion on SO about using erb in your CSS files. I can get ERB to process the CSS files by using the <%= %> syntax and adding .erb to the file, but what I really need is to access instance variables in the controller.So I've seen lots of discussion on SO about usi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: