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:
parent
db505983d9
commit
cd503e6c59
2 changed files with 8 additions and 0 deletions
4
CHANGES
4
CHANGES
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue