new(root, index: "index", headers: {}) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/static.rb, line 16
    def initialize(root, index: "index", headers: {})
      @root          = root.chomp("/")
      @file_server   = ::Rack::File.new(@root, headers)
      @index         = index
    end
Register or log in to add new notes.