Sha256: 74f033cc63534725a35e825baaba01b534c2ece70219afd58deb35b31df7d2ce

Contents?: true

Size: 423 Bytes

Versions: 5

Compression:

Stored size: 423 Bytes

Contents

module HotwireCombobox
  class Engine < ::Rails::Engine
    isolate_namespace HotwireCombobox

    initializer "hotwire_combobox.view_helpers" do
      ActiveSupport.on_load :action_controller do
        helper HotwireCombobox::Helper
      end
    end

    initializer "hotwire_combobox.importmap", before: "importmap" do |app|
      app.config.importmap.paths << Engine.root.join("config/importmap.rb")
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hotwire_combobox-0.1.10 lib/hotwire_combobox/engine.rb
hotwire_combobox-0.1.9 lib/hotwire_combobox/engine.rb
hotwire_combobox-0.1.8 lib/hotwire_combobox/engine.rb
hotwire_combobox-0.1.7 lib/hotwire_combobox/engine.rb
hotwire_combobox-0.1.6 lib/hotwire_combobox/engine.rb