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
Post a Comment