lib/hanami/middleware/app.rb in hanami-router-2.1.0.rc3 vs lib/hanami/middleware/app.rb in hanami-router-2.1.0

- old
+ new

@@ -19,11 +19,11 @@ @trie = Hanami::Middleware::Trie.new(router) mapping.each do |path, stack| builder = Rack::Builder.new - stack.each do |middleware, args, blk| - builder.use(middleware, *args, &blk) + stack.each do |middleware, args, kwargs, blk| + builder.use(middleware, *args, **kwargs, &blk) end builder.run(router) @trie.add(path, builder.to_app.freeze)