rstacruz / sinatra-assetpack

Package your assets transparently in Sinatra.
http://ricostacruz.com/sinatra-assetpack/
MIT License
542 stars 96 forks source link

image_path helper #146

Closed porras closed 10 years ago

porras commented 10 years ago

This PR adds a helper method (image_path) to get the path for an image, as img generated a complete <img ... /> tag and you might want to use the path for something else (e.g., a favicon, which is my case).

j15e commented 10 years ago

Awesome, thanks

porras commented 10 years ago

wow, that was fast, thanks!