mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
point out that the example is a config.ru in the README, fixes #313
This commit is contained in:
parent
0799e0e482
commit
e3854d311f
1 changed files with 1 additions and 0 deletions
|
@ -1523,6 +1523,7 @@ assign them to a constant, you can do this with <tt>Sinatra.new</tt>:
|
|||
|
||||
It takes the application to inherit from as optional argument:
|
||||
|
||||
# config.ru
|
||||
require 'sinatra/base'
|
||||
|
||||
controller = Sinatra.new do
|
||||
|
|
Loading…
Reference in a new issue