mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
document static in Sinatra::Base vs. Sinatra::Application
This commit is contained in:
parent
59e869821e
commit
763952490e
1 changed files with 3 additions and 1 deletions
|
@ -1328,7 +1328,8 @@ You can access those options via <tt>settings</tt>:
|
||||||
[static] Whether Sinatra should handle serving static files.
|
[static] Whether Sinatra should handle serving static files.
|
||||||
Disable when using a Server able to do this on its own.
|
Disable when using a Server able to do this on its own.
|
||||||
Disabling will boost performance.
|
Disabling will boost performance.
|
||||||
Enabled per default.
|
Enabled per default in classic style, disabled for
|
||||||
|
modular apps.
|
||||||
|
|
||||||
[views] views folder.
|
[views] views folder.
|
||||||
|
|
||||||
|
@ -1523,6 +1524,7 @@ different default settings:
|
||||||
logging true false
|
logging true false
|
||||||
method_override true false
|
method_override true false
|
||||||
inline_templates true false
|
inline_templates true false
|
||||||
|
static true false
|
||||||
|
|
||||||
|
|
||||||
=== Serving a Modular Application
|
=== Serving a Modular Application
|
||||||
|
|
Loading…
Reference in a new issue