Skip to content

Commit 59b6862

Browse files
committed
Fix some paths
1 parent 5d20b21 commit 59b6862

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,14 @@ Example:
130130

131131
```ruby
132132
# config/importmap.rb
133-
pin "@github/hotkey", to: "vendor/javascript/@github--hotkey.js"
134-
pin "md5", to: "vendor/javascript/md5.js", preload: false
133+
pin "@github/hotkey", to: "@github--hotkey.js" # file lives in vendor/javascript/@github--hotkey.js
134+
pin "md5", preload: false # file lives in vendor/javascript/md5.js
135135

136136
# app/views/layouts/application.html.erb
137137
<%= javascript_importmap_tags %>
138138
139139
# will include the following link before the importmap is setup:
140-
<link rel="modulepreload" href="/assets/javascripts/@github--hotkey.js">
140+
<link rel="modulepreload" href="/assets/javascript/@github--hotkey.js">
141141
...
142142
```
143143

0 commit comments

Comments
 (0)