aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/公共
diff options
context:
space:
mode:
authorEliot Sykes <eliotsykes@gmail.com>2015-05-04 20:55:23 +0100
committerEliot Sykes <eliotsykes@gmail.com>2015-05-28 09:41:00 +0100
commit3ff39494cdea67502dbd6465358eca3e14a84d6b (patch)
tree89e83c974e2e515de9aa12fcc09176255fa905ee /actionpack/test/fixtures/公共
parent7cc9754209c0ae00d70bdd629fa4a81a1c74cc6f (diff)
downloadrails-3ff39494cdea67502dbd6465358eca3e14a84d6b.tar.gz
rails-3ff39494cdea67502dbd6465358eca3e14a84d6b.tar.bz2
rails-3ff39494cdea67502dbd6465358eca3e14a84d6b.zip
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"`.
Diffstat (limited to 'actionpack/test/fixtures/公共')
-rw-r--r--actionpack/test/fixtures/公共/foo/other-index.html1
-rw-r--r--actionpack/test/fixtures/公共/other-index.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/公共/foo/other-index.html b/actionpack/test/fixtures/公共/foo/other-index.html
new file mode 100644
index 0000000000..51c90c26ea
--- /dev/null
+++ b/actionpack/test/fixtures/公共/foo/other-index.html
@@ -0,0 +1 @@
+/foo/other-index.html \ No newline at end of file
diff --git a/actionpack/test/fixtures/公共/other-index.html b/actionpack/test/fixtures/公共/other-index.html
new file mode 100644
index 0000000000..0820dfcb6e
--- /dev/null
+++ b/actionpack/test/fixtures/公共/other-index.html
@@ -0,0 +1 @@
+/other-index.html \ No newline at end of file