Skip to content

Commit

Permalink
Merge pull request #11778 from jetthoughts/11759_update_assets_guides
Browse files Browse the repository at this point in the history
Update Assets Pipeline Guide [ci skip]
  • Loading branch information
rafaelfranca committed Aug 6, 2013
2 parents 904bfad + 99a9303 commit 595b05a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/source/asset_pipeline.md
Expand Up @@ -682,10 +682,10 @@ the cached page.

The default matcher for compiling files includes `application.js`,
`application.css` and all non-JS/CSS files (this will include all image assets
automatically):
automatically) from `app/assets` folders including your gems:

```ruby
[ Proc.new { |path| !%w(.js .css).include?(File.extname(path)) },
[ Proc.new { |path, fn| fn =~ /app\/assets/ && !%w(.js .css).include?(File.extname(path)) },
/application.(css|js)$/ ]
```

Expand Down

0 comments on commit 595b05a

Please sign in to comment.