ruby on rails - Using compiled images inside Handlebars erb templates -


i using couple of .hbs.erb templates featuring different icons. works fine in development. however, when push app heroku (production), <%= image_tag...%> handlebar templates still point non-compiled image assets , resulting in:

actioncontroller::routingerror (no route matches [get] "/assets/foobar.svg"):  

how can make sure correct image assets being served within js templates?


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -