Skip to content

Commit f2f1c8f

Browse files
committed
[ci-skip] javascript_link_tag -> javascript_include_tag in Webpacker guide
1 parent bcc6c4b commit f2f1c8f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

guides/source/webpacker.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ You should choose webpacker over Sprockets on a new project if you want to use N
3636

3737
If you are familiar with Sprockets, the following guide might give you some idea of how to translate. Please note that each tool has a slightly different structure, and the concepts don't directly map onto each other.
3838

39-
|Task | Sprockets | Webpacker |
40-
|------------------|-------------------|-------------------|
41-
|Attach JavaScript |javascript_link_tag|javascript_pack_tag|
42-
|Attach CSS |stylesheet_link_tag|stylesheet_pack_tag|
43-
|Link to an image |image_url |image_pack_tag |
44-
|Link to an asset |asset_url |asset_pack_tag |
45-
|Require a script |//= require |import or require |
39+
|Task | Sprockets | Webpacker |
40+
|------------------|----------------------|-------------------|
41+
|Attach JavaScript |javascript_include_tag|javascript_pack_tag|
42+
|Attach CSS |stylesheet_link_tag |stylesheet_pack_tag|
43+
|Link to an image |image_url |image_pack_tag |
44+
|Link to an asset |asset_url |asset_pack_tag |
45+
|Require a script |//= require |import or require |
4646

4747
Installing Webpacker
4848
--------------------

0 commit comments

Comments
 (0)