Switch to using a common
runtime chunk rather than locales
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
|
||||
%title= content_for?(:page_title) ? safe_join([yield(:page_title).chomp.html_safe, title], ' - ') : title
|
||||
|
||||
= javascript_pack_tag "locales", crossorigin: 'anonymous'
|
||||
= javascript_pack_tag "common", crossorigin: 'anonymous'
|
||||
- if @theme
|
||||
- if @theme[:supported_locales].include? I18n.locale.to_s
|
||||
= preload_pack_asset "locales/#{@theme[:flavour]}/#{I18n.locale}-json.js"
|
||||
|
Reference in New Issue
Block a user