module FoodsoftAutomaticInvoices class Engine < ::Rails::Engine initializer 'automatic_invoices.assets.precompile' do |app| app.config.assets.precompile += %w(group_orders.css.less) end def default_foodsoft_config(cfg) cfg[:use_automatic_invoices] = false end end end