Skip to content
Browse files

Revert "add instructions for adding additional manifests"

This reverts commit f28f1d7.

Reason: This is already covered in this guide elsewhere.
  • Loading branch information...
1 parent 02a5847 commit 4fb6527e2c8d0c5dd670cc3d9a6184efc8055938 @vijaydev vijaydev committed
Showing with 1 addition and 5 deletions.
  1. +1 −5 guides/source/asset_pipeline.textile
View
6 guides/source/asset_pipeline.textile
@@ -290,11 +290,7 @@ In this example +require_self+ is used. This puts the CSS contained within the f
NOTE. If you want to use multiple Sass files, you should generally use the "Sass +@import+ rule":http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#import instead of these Sprockets directives. Using Sprockets directives all Sass files exist within their own scope, making variables or mixins only available within the document they were defined in.
-You can have as many manifest files as you need. For example the +admin.css+ and +admin.js+ manifest could contain the JS and CSS files that are used for the admin section of an application. In order for the pipeline to know about the additional manifest, it has to be added to application.rb.
-
-<plain>
-config.assets.precompile += %w( admin.css )
-</plain>
+You can have as many manifest files as you need. For example the +admin.css+ and +admin.js+ manifest could contain the JS and CSS files that are used for the admin section of an application.
The same remarks about ordering made above apply. In particular, you can specify individual files and they are compiled in the order specified. For example, you might concatenate three CSS files together this way:

0 comments on commit 4fb6527

Please sign in to comment.
Something went wrong with that request. Please try again.