diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-08-16 00:07:17 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-08-16 00:07:17 +0530 |
commit | 176f0888d85da38e3ae95f74b419d22e347d7a81 (patch) | |
tree | 0a46e2a790cf34785b7e8048e21fb598010e23e8 /guides/source/asset_pipeline.textile | |
parent | ebb4a3d5becd535074502a4bf1b61a5b18e30917 (diff) | |
parent | 62499bcb9d8aa65636f5cd3ace2a818ffd4e2f8a (diff) | |
download | rails-176f0888d85da38e3ae95f74b419d22e347d7a81.tar.gz rails-176f0888d85da38e3ae95f74b419d22e347d7a81.tar.bz2 rails-176f0888d85da38e3ae95f74b419d22e347d7a81.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'guides/source/asset_pipeline.textile')
-rw-r--r-- | guides/source/asset_pipeline.textile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/asset_pipeline.textile b/guides/source/asset_pipeline.textile index 8fec109951..e385ec4f17 100644 --- a/guides/source/asset_pipeline.textile +++ b/guides/source/asset_pipeline.textile @@ -443,6 +443,8 @@ If you have other manifests or individual stylesheets and JavaScript files to in config.assets.precompile += ['admin.js', 'admin.css', 'swfObject.js'] </erb> +NOTE. Always specify an expected compiled filename that ends with js or css, even if you want to add Sass or CoffeeScript files to the precompile array. + The rake task also generates a +manifest.yml+ that contains a list with all your assets and their respective fingerprints. This is used by the Rails helper methods to avoid handing the mapping requests back to Sprockets. A typical manifest file looks like: <plain> |