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

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -