I never meant to actually name this parameter blockm
This commit is contained in:
parent
8979fe9f18
commit
bef6e13c5f
|
@ -70,8 +70,8 @@ module Middleman
|
||||||
app = ::Rack::Builder.new
|
app = ::Rack::Builder.new
|
||||||
app.use Rack::Lint
|
app.use Rack::Lint
|
||||||
|
|
||||||
Array(@middleware).each do |klass, options, blockm|
|
Array(@middleware).each do |klass, options, block|
|
||||||
app.use(klass, *options, &blockm)
|
app.use(klass, *options, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
inner_app = inst(&block)
|
inner_app = inst(&block)
|
||||||
|
|
Loading…
Reference in a new issue