Skip to content

Commit

Permalink
Reactivate codepath in eln features initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
jhmegorei committed Nov 19, 2024
1 parent 0eb428a commit ef83539
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/initializers/eln_features.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit ef83539

Please sign in to comment.