From 8c422f7a5eadd20e00c769133d19a1cbd0937f0a Mon Sep 17 00:00:00 2001 From: Johannes Haubold Date: Tue, 19 Nov 2024 16:01:14 +0100 Subject: [PATCH] Reactivate codepath in eln features initializer --- config/initializers/eln_features.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/initializers/eln_features.rb b/config/initializers/eln_features.rb index e3a44787f1..191e847ba9 100644 --- a/config/initializers/eln_features.rb +++ b/config/initializers/eln_features.rb @@ -1,8 +1,7 @@ # frozen_string_literal: true -# TODO: clarify what this is and why it is used in the message api -# pack_path = Webpacker.manifest.send(:data)&.fetch('application.js', nil) -# ENV['VERSION_ASSETS'] = pack_path && File.basename(pack_path) +pack_path = Shakapacker.manifest.send(:data)&.fetch('application.js', nil) +ENV['VERSION_ASSETS'] = pack_path && File.basename(pack_path) ActiveSupport.on_load(:active_record) do # config.eln_features = ActiveSupport::OrderedOptions.new