lib/erp_invoicing/engine.rb in erp_invoicing-3.1.0 vs lib/erp_invoicing/engine.rb in erp_invoicing-4.0.0

- old
+ new

@@ -1,10 +1,10 @@ module ErpInvoicing class Engine < Rails::Engine isolate_namespace ErpInvoicing initializer "erp_invoicing.merge_public" do |app| - app.middleware.insert_before Rack::Lock, ::ActionDispatch::Static, "#{root}/public" + 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)