document static in Sinatra::Base vs. Sinatra::Application

This commit is contained in:
Konstantin Haase 2011-04-17 18:27:06 +02:00
parent 59e869821e
commit 763952490e
1 changed files with 3 additions and 1 deletions

View File

@ -1328,7 +1328,8 @@ You can access those options via <tt>settings</tt>:
[static] Whether Sinatra should handle serving static files.
Disable when using a Server able to do this on its own.
Disabling will boost performance.
Enabled per default.
Enabled per default in classic style, disabled for
modular apps.
[views] views folder.
@ -1523,6 +1524,7 @@ different default settings:
logging true false
method_override true false
inline_templates true false
static true false
=== Serving a Modular Application