Can't link images from the folder



I am new in programming. I have made a webpage. And I am importing it in c9 ide for rails. I have imported most of them and it works, while trying to link an image doesn’t work. After trying for one hour, I figure, I need help.


What URL are you using to link to the image and what is the path to the image in your workspace?


Its not url. Its path.
In css…
background: url("/app/assets/images/profile-pic.jpg");

In Html,

They don’t work in both cases.