Is there any way to load JavaScript from public folder before JavaScript-files from assets/javascript?
You can still use the classic javascript_include_tag in your layout.
Given I have a file in_public.js in my public folder.
<%= javascript_include_tag "/in_public" %>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With