Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit a48c5d4

Browse files
committed
logical_asset_filter -> logical_path_patterns
Per: #229
1 parent 6023114 commit a48c5d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ wrap: true
148148
The `requirejs-rails` build process uses the Asset Pipeline to assemble assets
149149
for the `r.js` build. By default, assets ending in `.js`, `.html`, and `.txt`
150150
will be made available to the build. If you have other asset suffixes to
151-
include, use the `logical_asset_filter` config setting to add them.
151+
include, use the `logical_path_patterns` config setting to add them.
152152

153153
For example, if your templates all end in `.templ` like so...
154154

@@ -164,7 +164,7 @@ define(function (require) {
164164

165165
```ruby
166166
# in config/application.rb
167-
config.requirejs.logical_asset_filter += [/\.templ$/]
167+
config.requirejs.logical_path_patterns += [/\.templ$/]
168168
```
169169

170170
## Advanced features

0 commit comments

Comments
 (0)