leshill / handlebars_assets

Use handlebars.js templates with the Rails asset pipeline.
MIT License
647 stars 159 forks source link

Assets paths are wrong #125

Open desmondhume opened 9 years ago

desmondhume commented 9 years ago

Hi, I cannot find a way to make methods like image_tag work. Everything's fine in development environment, where the assets are not compiled, without fingerprint. When I deploy on staging, the assets are compiled, but the images in the Handlebars templates are still referred to as not compiled assets, e.g. /assets/image.png.

I'm saving all my templates with .hbs.erb extension. Am I missing something?

lukeaiken commented 9 years ago

Having the same problem @desmondhume if you figured this out, I would love to hear about it.

badlamer commented 8 years ago

+1