Permalink
Browse files

Merge pull request #15656 from JohnRiv/guides_asset_pipeline_precompi…

…ling

[ci skip] Updating argument names in default matcher for compiling files
  • Loading branch information...
2 parents df3c782 + 53d05d5 commit 6e44fd545003c21f69c4acb66df8bd941c93c0a8 @zzak zzak committed Jun 12, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/asset_pipeline.md
@@ -709,7 +709,7 @@ The default matcher for compiling files includes `application.js`,
automatically) from `app/assets` folders including your gems:
```ruby
-[ Proc.new { |path, fn| fn =~ /app\/assets/ && !%w(.js .css).include?(File.extname(path)) },
+[ Proc.new { |filename, path| path =~ /app\/assets/ && !%w(.js .css).include?(File.extname(filename)) },
/application.(css|js)$/ ]
```

0 comments on commit 6e44fd5

Please sign in to comment.