mirror of https://github.com/rails/rails
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:
parent
c6ef71ccf2
commit
bf5530df68
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue