foodsoft/plugins/documents/lib/foodsoft_documents.rb
2016-05-06 16:45:16 +02:00

9 lines
267 B
Ruby

require 'foodsoft_documents/engine'
module FoodsoftDocuments
# Return whether the documents are used or not.
# Enabled by default in {FoodsoftConfig} since it used to be part of the foodsoft core.
def self.enabled?
FoodsoftConfig[:use_documents]
end
end