Use method should accept a block when adding Rack middleware.

This commit is contained in:
Rolf Timmermans 2012-06-14 13:53:49 +02:00
parent ab717af590
commit b6d2579678

View file

@ -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