From 3ff39494cdea67502dbd6465358eca3e14a84d6b Mon Sep 17 00:00:00 2001 From: Eliot Sykes Date: Mon, 4 May 2015 20:55:23 +0100 Subject: config.static_index configures directory index "index.html" filename Set `config.static_index` to serve a static directory index file not named `index`. For example, to serve `main.html` instead of `index.html` for directory requests, set `config.static_index` to `"main"`. --- "actionpack/test/fixtures/\345\205\254\345\205\261/foo/other-index.html" | 1 + 1 file changed, 1 insertion(+) create mode 100644 "actionpack/test/fixtures/\345\205\254\345\205\261/foo/other-index.html" (limited to 'actionpack/test/fixtures/公共/foo') diff --git "a/actionpack/test/fixtures/\345\205\254\345\205\261/foo/other-index.html" "b/actionpack/test/fixtures/\345\205\254\345\205\261/foo/other-index.html" new file mode 100644 index 0000000000..51c90c26ea --- /dev/null +++ "b/actionpack/test/fixtures/\345\205\254\345\205\261/foo/other-index.html" @@ -0,0 +1 @@ +/foo/other-index.html \ No newline at end of file -- cgit v1.2.3