foodsoft/plugins/automatic_invoices/lib/foodsoft_automatic_invoices/engine.rb

13 lines
302 B
Ruby
Raw Normal View History

2023-10-10 23:11:34 +02:00
module FoodsoftAutomaticInvoices
class Engine < ::Rails::Engine
2023-10-11 18:50:13 +02:00
initializer 'automatic_invoices.assets.precompile' do |app|
app.config.assets.precompile += %w(group_orders.css.less)
end
2023-10-10 23:11:34 +02:00
def default_foodsoft_config(cfg)
cfg[:use_automatic_invoices] = false
end
end
end