foodsoft/plugins/wiki/lib/foodsoft_wiki.rb

16 lines
414 B
Ruby
Raw Normal View History

2013-11-06 13:43:04 +01:00
require 'wikicloth'
require 'acts_as_versioned'
2014-01-06 13:54:56 +01:00
require 'diffy'
require 'content_for_in_controllers'
2013-11-06 13:43:04 +01:00
require 'foodsoft_wiki/engine'
2020-03-06 11:46:39 +01:00
require 'foodsoft_wiki/mailer'
2015-01-19 01:48:03 +01:00
require 'foodsoft_wiki/wiki_parser'
module FoodsoftWiki
# Return whether the wiki is used or not.
# Enabled by default in {FoodsoftConfig} since it used to be part of the foodsoft core.
def self.enabled?
FoodsoftConfig[:use_wiki]
end
end