foodsoft/plugins/wiki/lib/foodsoft_wiki.rb

14 lines
347 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'
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