module ErpInvoicing class Engine < Rails::Engine isolate_namespace ErpInvoicing initializer "erp_invoicing.merge_public" do |app| app.middleware.insert_before Rack::Runtime, ::ActionDispatch::Static, "#{root}/public" end ErpBaseErpSvcs.register_as_compass_ae_engine(config, self) ::ErpApp::Widgets::Loader.load_compass_ae_widgets(config, self) end end