Sinatra nuance(s)

While working with sinatra, I stumbled upon an issue with paths…

 

if you have

 

 

 

Then, the root path will be ./something, otherwise the root path is just the ./public directory.

Published by

Leave a Reply