mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Remove any chance of block args stomping on locals here
This commit is contained in:
parent
22e1d8c5a2
commit
d5f2028d5a
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ module Sinatra
|
|||
builder.use Rack::Session::Cookie if sessions? && !test?
|
||||
builder.use Rack::CommonLogger if logging?
|
||||
builder.use Rack::MethodOverride if methodoverride?
|
||||
@middleware.each { |c, args, bk| builder.use(c, *args, &bk) }
|
||||
@middleware.each { |c,a,b| builder.use(c, *a, &b) }
|
||||
builder.run super
|
||||
builder.to_app
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue