diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-10-07 15:44:38 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-10-07 15:46:04 -0300 |
commit | 172c25e7b62b4b7f7c8ef7c7174ed4d17c8dacfe (patch) | |
tree | d40c68bf2005a1be4596dba97f7eee2a45f0e3a4 | |
parent | e70ec9e91cb63fd63cfc0a285e5d2268a0297e46 (diff) | |
download | rails-172c25e7b62b4b7f7c8ef7c7174ed4d17c8dacfe.tar.gz rails-172c25e7b62b4b7f7c8ef7c7174ed4d17c8dacfe.tar.bz2 rails-172c25e7b62b4b7f7c8ef7c7174ed4d17c8dacfe.zip |
Revert "Update asset_pipeline.md"
This reverts commit afe672185d5eba95f387c46f855ae7a21ea69fa5.
Reason: This change was done by mistake. This option is at the `config`
object not in the `config.assets`.
See
https://github.com/rails/rails/blob/cfb371e96a2789790359ec1db779df490fd253d6/railties/lib/rails/application/configuration.rb#L16
-rw-r--r-- | guides/source/asset_pipeline.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md index cc090e27e2..7b8d2d3aef 100644 --- a/guides/source/asset_pipeline.md +++ b/guides/source/asset_pipeline.md @@ -169,7 +169,7 @@ directory. Files in this directory are served by the Sprockets middleware. Assets can still be placed in the `public` hierarchy. Any assets under `public` will be served as static files by the application or web server when -`config.assets.serve_static_files` is set to true. You should use `app/assets` for +`config.serve_static_files` is set to true. You should use `app/assets` for files that must undergo some pre-processing before they are served. In production, Rails precompiles these files to `public/assets` by default. The |