mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
fix default options not overriding options
This commit is contained in:
parent
3384ede80d
commit
40f5a0c0fa
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ module Rack
|
|||
end
|
||||
|
||||
def initialize(app, options = {})
|
||||
@app, @options = app, options.merge(default_options)
|
||||
@app, @options = app, default_options.merge(options)
|
||||
end
|
||||
|
||||
def accepts?(env)
|
||||
|
|
Loading…
Reference in a new issue