1
0
Fork 0
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:
Konstantin Haase 2011-06-30 22:31:22 +02:00
parent 0799e0e482
commit e3854d311f

View file

@ -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