Use method should accept a block when adding Rack middleware.
This commit is contained in:
parent
ab717af590
commit
b6d2579678
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ module Middleman
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
def use(*args, &block); self.class.use(*args); end
|
def use(*args, &block); self.class.use(*args, &block); end
|
||||||
def map(*args, &block); self.class.map(*args, &block); end
|
def map(*args, &block); self.class.map(*args, &block); end
|
||||||
|
|
||||||
# Rack env
|
# Rack env
|
||||||
|
|
Loading…
Reference in a new issue