I have an image in app/assets/images
How do I reference this in a view in my development environment?
=image_tag 'image.png'
looks for the image in public/assets. I’m guessing that the image will get copied from app/assets/images to public/assets once the app is deployed. What am I missing here? I’d appreciate any help.
Update
I’m wondering why
=image_tag 'image.png' doesn’t correctly route to the image in app/assets/images with rails in development mode. The image renders as missing.
This issue solved itself somehow. Sprockets now correctly routes to the image in
app/assets/images