Sha256: b1d7978cad1337c52834d19f00b5cf79d7d1ecbab909a07501a025e0d7521f19

Contents?: true

Size: 443 Bytes

Versions: 2

Compression:

Stored size: 443 Bytes

Contents

module ErpInventory
  class Engine < Rails::Engine
    isolate_namespace ErpInventory

    initializer "erp_inventory.merge_public" do |app|
      app.middleware.insert_before Rack::Lock, ::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

2 entries across 2 versions & 1 rubygems

Version Path
erp_inventory-3.1.0 lib/erp_inventory/engine.rb
erp_inventory-3.0.5 lib/erp_inventory/engine.rb