Reputation: 21553
I have public folder in root of my project. Placed a couple of images, when I try to access them, it says "Sinatra doesn't know this ditty..."
Isn't default public folder supposed to be called "public"? Or do I have to explicitly set that?
Upvotes: 2
Views: 257
Reputation: 4330
The folder name should be "public" and then access it with /image.png when your folder structure is public/image.png
Upvotes: 1