Rails 3.1使用没有指纹哈希的图像 [英] Rails 3.1 Use an image without fingerprint hash
本文介绍了Rails 3.1使用没有指纹哈希的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经解决了一些资产流水线问题,但其中之一仍然存在.我有几个image_tags,我希望它们引用非指纹/散列/消化的版本.是否有一种方法可以强制image_tag(但是只有一个或两个,而不是整个应用程序范围)使用未消化的图像版本?
I have solved a few of my asset pipeline woes, but one of them remains. I have a couple of image_tags, and I want them to refer to the non-fingerprinted/hashed/digested version. Is there a way to force an image_tag (but only one or two, not application-wide) to use the non-digested version of the image?
推荐答案
看看 fingerprintless ,应该这样做.
这篇关于Rails 3.1使用没有指纹哈希的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文