Template helpers refactoring

This commit is contained in:
Frédéric Guillot
2014-12-28 11:28:50 -05:00
parent 88d84073ae
commit 34d7450d3c
155 changed files with 1605 additions and 1609 deletions

View File

@@ -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']));
}
}