This commit is contained in:
Patrick Gansterer 2016-04-28 13:46:13 +02:00 committed by wvengen
parent 33c9b23e2f
commit 8bb58c5519
18 changed files with 310 additions and 0 deletions

View file

@ -0,0 +1,9 @@
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