You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have a question. Is that possible to use suffix on javascript_include_tag name ?
Or is there I can replace javascript path name ?
Or is there I can use full path of javascript ?
EX) result of index.html after source build.
AS_IS <script src="../assets/javascripts/all-ca6aa968.js"></script>
TO_BE(This is what I like to do) <script src="../assets/javascripts/all-ca6aa968.js?test=test"></script>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I have a question. Is that possible to use suffix on javascript_include_tag name ?
Or is there I can replace javascript path name ?
Or is there I can use full path of javascript ?
EX) result of index.html after source build.
AS_IS
<script src="../assets/javascripts/all-ca6aa968.js"></script>
TO_BE(This is what I like to do)
<script src="../assets/javascripts/all-ca6aa968.js?test=test"></script>
I am using asset_hash
config.rb
Beta Was this translation helpful? Give feedback.
All reactions