lib/rack/static.rb in rack-1.4.0 vs lib/rack/static.rb in rack-1.4.1

- old
+ new

@@ -36,10 +36,10 @@ class Static def initialize(app, options={}) @app = app @urls = options[:urls] || ["/favicon.ico"] - @index = options[:index] || "index.html" + @index = options[:index] root = options[:root] || Dir.pwd cache_control = options[:cache_control] @file_server = Rack::File.new(root, cache_control) end