15 lines
414 B
Ruby
15 lines
414 B
Ruby
require 'wikicloth'
|
|
require 'acts_as_versioned'
|
|
require 'diffy'
|
|
require 'content_for_in_controllers'
|
|
require 'foodsoft_wiki/engine'
|
|
require 'foodsoft_wiki/mailer'
|
|
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
|