1
0
Fork 0
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:
Konstantin Haase 2011-05-24 10:56:19 +02:00
parent 3384ede80d
commit 40f5a0c0fa

View file

@ -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)