A platform for community discussion. Free, open, simple.
FIX: Update application_helper logic now that Ember CLI is default (#15935)
David Taylorf078d1ab0a03
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rbindex 8b1e7fe4472..c60e06cde08 100644--- a/app/helpers/application_helper.rb+++ b/app/helpers/application_helper.rb@@ -138,7 +138,7 @@ module ApplicationHelperdef preload_vendor_scriptsscripts = ["vendor"]- if ENV["EMBER_CLI_PROD_ASSETS"] == "1"+ if ENV["EMBER_CLI_PROD_ASSETS"] != "0"@@vendor_chunks ||= beginall_assets = ActionController::Base.helpers.assets_manifest.assetsall_assets.keys.filter_map { |name| name[/\A(chunk\..*)\.js\z/, 1] }