Make current_orders plugin configurable
This commit is contained in:
parent
466e8c5eeb
commit
dc731ee40d
12 changed files with 77 additions and 18 deletions
|
|
@ -2,4 +2,7 @@ require "deface"
|
|||
require "foodsoft_current_orders/engine"
|
||||
|
||||
module FoodsoftCurrentOrders
|
||||
def self.enabled?
|
||||
FoodsoftConfig[:use_current_orders]
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue