1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

delegate methods in classic mode from rackup file, fixes #682

This commit is contained in:
Konstantin Haase 2013-03-15 18:06:06 +01:00
parent db505983d9
commit cd503e6c59
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
= 1.4.0 / not yet released
* Make delegated methods available in config.ru (Konstantin Haase)
= 1.4.0 / 2013-03-15 = 1.4.0 / 2013-03-15
* Add support for LINK and UNLINK requests. (Konstantin Haase) * Add support for LINK and UNLINK requests. (Konstantin Haase)

View file

@ -28,3 +28,7 @@ end
# include would include the module in Object # include would include the module in Object
# extend only extends the `main` object # extend only extends the `main` object
extend Sinatra::Delegator extend Sinatra::Delegator
class Rack::Builder
include Sinatra::Delegator
end