L
L
lavezzi12015-08-08 12:56:33
Ruby on Rails
lavezzi1, 2015-08-08 12:56:33

Where is the image stored after deploying to Heroku?

Hello. Put pictures in assets/images. Specified the path in css, everything works. After I send the application en Heroku. Pictures are not loaded, 404. How to do it right?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Kononenko, 2015-08-08
@lavezzi1

Heroku has nothing to do with it. You should use helpers
instead of the img: html tag
instead of the url(...) css property
Or put everything in public but then you'll have caching issues.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question