sikachu / sprockets-redirect

A Rack middleware for Rails >= 3.1.0 with asset pipeline and asset digest enabled. This middleware is used to redirect any request to static asset without a digest to the version with digest in its filename by reading the assets manifest file generated after you run `rake assets:precompile`
http://rubygems.org/gems/sprockets-redirect
MIT License
72 stars 26 forks source link

support procs in asset_path (issue #9) #10

Closed ryanong closed 8 years ago

ryanong commented 9 years ago

fixed tests

ryanong commented 9 years ago

@sikachu is this okay?

sikachu commented 8 years ago

Just merged it in (like a year too late). Thanks for your patch!

sikachu commented 8 years ago

Actually, I found some issue after reading the code through a bit more. I just reverted this in 84f0fa7ceeddd384a00e29deb43fee53980dff70 and going to comment in the PR on the issues I found.

sikachu commented 8 years ago

I updated your patch in db6dda52cdddbcd80f3b98140dca8f8e37ddc9b7 on top of your commit and going to merge that in soon after I finish with the README. I think this can once again be closed.

Thanks again for your original patch.