1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

update README with Static help

This commit is contained in:
Blake Mizerany 2008-03-26 19:02:28 -07:00
parent bacfa20d9f
commit 047edc6a92

View file

@ -71,6 +71,15 @@ Get an agent!
# matches non-songbird browsers
end
= Static files
Put all of your static content in the ./public directory
root
\ public
If a file exists that maps to the REQUEST_PATH then it is served and the request end; Sinatra will look for and event that matches the path otherwise
= Views (if you need MVC)
All views are looked up in: