From 047edc6a9208c7836d3223718fd3564296d69d26 Mon Sep 17 00:00:00 2001 From: Blake Mizerany Date: Wed, 26 Mar 2008 19:02:28 -0700 Subject: [PATCH] update README with Static help --- README.rdoc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.rdoc b/README.rdoc index 4c023816..52c67432 100644 --- a/README.rdoc +++ b/README.rdoc @@ -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: