mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Update asset_pipeline.md
This commit is contained in:
parent
69009f4473
commit
afe672185d
1 changed files with 1 additions and 1 deletions
|
@ -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`
|
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
|
will be served as static files by the application or web server when
|
||||||
`config.serve_static_files` is set to true. You should use `app/assets` for
|
`config.assets.serve_static_files` is set to true. You should use `app/assets` for
|
||||||
files that must undergo some pre-processing before they are served.
|
files that must undergo some pre-processing before they are served.
|
||||||
|
|
||||||
In production, Rails precompiles these files to `public/assets` by default. The
|
In production, Rails precompiles these files to `public/assets` by default. The
|
||||||
|
|
Loading…
Reference in a new issue