summaryrefslogtreecommitdiff
path: root/app/Controller/App.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-28 11:28:50 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-28 11:28:50 -0500
commit34d7450d3c13342715e90ec21bceaa13e1baa876 (patch)
treea2d8f2f22ad3fe9b56f01fe2db0357f9b963e660 /app/Controller/App.php
parent88d84073aecbe8bdc5f10825b6d7ca6b81c5f7b1 (diff)
Template helpers refactoring
Diffstat (limited to 'app/Controller/App.php')
-rw-r--r--app/Controller/App.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Controller/App.php b/app/Controller/App.php
index eb1d83af..56e81179 100644
--- a/app/Controller/App.php
+++ b/app/Controller/App.php
@@ -3,7 +3,6 @@
namespace Controller;
use Model\SubTask as SubTaskModel;
-use Helper;
/**
* Application controller
@@ -192,7 +191,7 @@ class App extends Base
$this->response->html('<p>'.t('Nothing to preview...').'</p>');
}
else {
- $this->response->html(Helper\markdown($payload['text']));
+ $this->response->html($this->template->markdown($payload['text']));
}
}