Add helper for inline JS code (#1916)

This commit is contained in:
aignatov-bio 2019-07-11 09:31:30 +02:00 committed by GitHub
parent 28ba03b27c
commit ac7970209c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@
'md5.js', 'jstat.js', 'formula.js', 'parser.js', 'ruleJS.js',
'handsontable.formula.js', 'big.min.js' ].each do |js_asset| %>
<script type="text/javascript">
<%= Rails.application
<%= j Rails.application
.assets_manifest
.find_sources(js_asset)
.first