kind of works with importmaps
This commit is contained in:
parent
e2e91ae33b
commit
bcc88cd7f4
5 changed files with 8 additions and 15 deletions
|
|
@ -20,12 +20,11 @@
|
|||
\==================================================
|
||||
/ Placed at the end of the document so the pages load faster
|
||||
= javascript_importmap_tags
|
||||
= javascript_include_tag "application_legacy"
|
||||
|
||||
-# = javascript_include_tag "application"
|
||||
|
||||
-# :javascript
|
||||
-# I18n.defaultLocale = "#{I18n.default_locale}";
|
||||
-# I18n.locale = "#{I18n.locale}";
|
||||
-# I18n.fallbacks = true;
|
||||
-# = yield(:javascript)
|
||||
:javascript
|
||||
I18n.defaultLocale = "#{I18n.default_locale}";
|
||||
I18n.locale = "#{I18n.locale}";
|
||||
I18n.fallbacks = true;
|
||||
= yield(:javascript)
|
||||
= raw FoodsoftConfig[:webstats_tracking_code]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue