Hello,
I’m trying to set the background of a page to an image I have in the
assets/images folder in my rails app.
However, for the life of me I cannot get it to work. When I open up and
inspect the element I keep seeing in the resources that the file cannot
be
found with a red “!” next to the image.
I have tried different paths still no avail…
…/images.bg.png
./images.bg.png
assets/images.bg.png
In my static_pages.css.scss I have
body {
background: url(/images/bg.png);
}