README.md in requirejs-rails-0.9.8 vs README.md in requirejs-rails-0.9.9
- old
+ new
@@ -146,11 +146,11 @@
### Build-time asset filter
The `requirejs-rails` build process uses the Asset Pipeline to assemble assets
for the `r.js` build. By default, assets ending in `.js`, `.html`, and `.txt`
will be made available to the build. If you have other asset suffixes to
-include, use the `logical_asset_filter` config setting to add them.
+include, use the `logical_path_patterns` config setting to add them.
For example, if your templates all end in `.templ` like so...
```javascript
// in app/assets/javascripts/myapp.js
@@ -162,10 +162,10 @@
... then this config setting will ensure they're picked up in the build:
```ruby
# in config/application.rb
-config.requirejs.logical_asset_filter += [/\.templ$/]
+config.requirejs.logical_path_patterns += [/\.templ$/]
```
## Advanced features
### Additional data attributes