Closed botandrose closed 11 years ago
Hi there, Check out version 1.0.8. I added some spar specific helpers and made sure they override the ones included in the default sprockets context. Let me know how it works!
-Matt
Wow, quick turnaround! I can confirm that it fixes image_url, and that the digests now work as expected in different environments. Compass sprites are still missing their digests in production, but I'll open a separate issue for that.
Howdy! The compass and sprockets-sass
image_url
etc helpers have a different arity than the helpers defined inSprockets::Context
, and thus, fail. A partial workaround is to include thesprockets-helpers
gem, but then this doesn't take into account the digest, and then it expects the compiled asset to be living in /assets instead of /.I'm not quite sure the best way to solve this... perhaps define some Spar-specific
image_url
etc helpers? What do you think?