Sha256: 78c11b86cc7939fe22fb19115b370c1f8302640c4abd5746cbbf3319b5805079
Contents?: true
Size: 486 Bytes
Versions: 3
Compression:
Stored size: 486 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 engine = self config.to_prepare do ErpBaseErpSvcs.register_compass_ae_engine(engine) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
erp_inventory-3.0.4 | lib/erp_inventory/engine.rb |
erp_inventory-3.0.3 | lib/erp_inventory/engine.rb |
erp_inventory-3.0.2 | lib/erp_inventory/engine.rb |