Can't link images from the folder

workspace
ruby
ruby-on-rails

#1

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.


#2

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


#3

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

In Html,

They don’t work in both cases.