Move plugins to separate directory.
This commit is contained in:
parent
6e990fed4c
commit
6aa8ee7968
59 changed files with 4 additions and 4 deletions
13
plugins/wiki/lib/foodsoft_wiki.rb
Normal file
13
plugins/wiki/lib/foodsoft_wiki.rb
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
require 'wikicloth'
|
||||
require 'acts_as_versioned'
|
||||
require 'diffy'
|
||||
require 'content_for_in_controllers'
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue