Add foodsoft expansion variables for wiki

This commit is contained in:
wvengen 2015-01-19 01:48:42 +01:00
parent be128243fc
commit 9df483cf4e
2 changed files with 91 additions and 0 deletions

View file

@ -1,6 +1,10 @@
module FoodsoftWiki
class WikiParser < WikiCloth::Parser
template do |template|
Foodsoft::ExpansionVariables.get(template)
end
url_for do |page|
url_for page
end