lib/dry/web/roda/application.rb in dry-web-roda-0.6.0 vs lib/dry/web/roda/application.rb in dry-web-roda-0.6.1
- old
+ new
@@ -14,12 +14,12 @@
plugin :multi_route
plugin :flow
plugin :error_handler
def self.configure(&block)
- container = super
- use(container[:rack_monitor])
- container
+ super.tap do
+ use(config.container[:rack_monitor])
+ end
end
def self.resolve(name)
config.container[name]
end