Skip to content

Commit ea09111

Browse files
committed
fix: replace append_javascript_pack with append_javascript_pack_tag
1 parent a341b67 commit ea09111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/file-system-based-automated-bundle-generation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ For example, if you wanted to utilize our file-system based entrypoint generatio
193193
4. You no longer need to register the React components within the `ReactOnRails.configuration.components_subdirectory` nor directly add their bundles. For example, you can have a Rails view using three components:
194194

195195
```erb
196-
<% append_javascript_pack('SpecialComponentNotToAutoLoadBundle') %>
196+
<% append_javascript_pack_tag('SpecialComponentNotToAutoLoadBundle') %>
197197
<%= react_component("FooComponentOne", {}, auto_load_bundle: true) %>
198198
<%= react_component("BarComponentOne", {}, auto_load_bundle: true) %>
199199
<%= react_component("SpecialComponentNotToAutoLoadBundle", {}) %>

0 commit comments

Comments
 (0)