Sha256: 65a84f102a0ab1dd0d64ebc3ef00740cebe732763de70035a3f3eb4cc2f286bc

Contents?: true

Size: 446 Bytes

Versions: 1

Compression:

Stored size: 446 Bytes

Contents

module ErpInventory
  class Engine < Rails::Engine
    isolate_namespace ErpInventory

    initializer "erp_inventory.merge_public" do |app|
      app.middleware.insert_before Rack::Runtime, ::ActionDispatch::Static, "#{root}/public"
    end

    ActiveSupport.on_load(:active_record) do
      include ErpInventory::Extensions::ActiveRecord::ActsAsInventoryEntry
    end

    ErpBaseErpSvcs.register_as_compass_ae_engine(config, self)

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
erp_inventory-4.0.0 lib/erp_inventory/engine.rb