Revert "There are some Rack middleware take keyword arguments for initializing"

This reverts commit c6ef71ccf2
because this causes "wrong number of arguments (given 2, expected 1) (ArgumentError)" on Ruby 2.5
This commit is contained in:
Akira Matsuda 2019-09-15 09:25:13 +09:00
parent c6ef71ccf2
commit bf5530df68
1 changed files with 1 additions and 2 deletions

View File

@ -34,8 +34,7 @@ module ActionDispatch
end
def build(app)
options = args.extract_options!
klass.new(app, *args, **options, &block)
klass.new(app, *args, &block)
end
def build_instrumented(app)