diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2015-11-04 22:37:39 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2015-11-04 22:40:58 +0100 |
commit | b7f547e64aea0edaf3ebfb936e3bbfbb9f3e7a24 (patch) | |
tree | a4aaa56ae2b50d5ff84d6bfa1fda255fd970d472 /guides/source/rails_on_rack.md | |
parent | fa2c96b3f7332367d509e32127f04c4c2d7632fe (diff) | |
download | rails-b7f547e64aea0edaf3ebfb936e3bbfbb9f3e7a24.tar.gz rails-b7f547e64aea0edaf3ebfb936e3bbfbb9f3e7a24.tar.bz2 rails-b7f547e64aea0edaf3ebfb936e3bbfbb9f3e7a24.zip |
Replace `serve_static_files` mentions in docs.
Should use `public_file_server.enabled` instead.
Clarified that static files will be served from the public directory, where it made sense.
Also removed occurrence of the deprecated `static_cache_control`.
Diffstat (limited to 'guides/source/rails_on_rack.md')
-rw-r--r-- | guides/source/rails_on_rack.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/rails_on_rack.md b/guides/source/rails_on_rack.md index 87f869aff3..273fbc08e2 100644 --- a/guides/source/rails_on_rack.md +++ b/guides/source/rails_on_rack.md @@ -213,7 +213,7 @@ Much of Action Controller's functionality is implemented as Middlewares. The fol **`ActionDispatch::Static`** -* Used to serve static files. Disabled if `config.serve_static_files` is `false`. +* Used to serve static files from the public directory. Disabled if `config.public_file_server.enabled` is `false`. **`Rack::Lock`** |