mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
:traps option described in README
This commit is contained in:
parent
7948494fdf
commit
d941e0dd99
2 changed files with 6 additions and 0 deletions
|
@ -2152,6 +2152,9 @@ set :protection, :session => true
|
|||
for processing the request.
|
||||
</dd>
|
||||
|
||||
<dt>traps</dt>
|
||||
<dd>Whether Sinatra should handle system signals.</dd>
|
||||
|
||||
<dt>views</dt>
|
||||
<dd>
|
||||
Path to the views folder. Inferred from <tt>app_file</tt> setting if
|
||||
|
|
|
@ -2051,6 +2051,9 @@ set :protection, :except => [:path_traversal, :session_hijacking]
|
|||
обработки запросов.
|
||||
</dd>
|
||||
|
||||
<dt>traps</dt>
|
||||
<dd>должна ли Синатра обрабатывать системные сигналы или нет.</tt></dd>
|
||||
|
||||
<dt>views</dt>
|
||||
<dd>путь к директории с шаблонами.</dd>
|
||||
</dl>
|
||||
|
|
Loading…
Reference in a new issue