Merge pull request #479 from rolftimmermans/use-accepts-block
Use method should accept a block when adding Rack middleware.
This commit is contained in:
commit
f4feda8b93
|
@ -170,7 +170,7 @@ module Middleman
|
|||
})
|
||||
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
|
||||
|
||||
# Rack env
|
||||
|
|
Loading…
Reference in a new issue