summaryrefslogtreecommitdiff
path: root/app/Controller/TaskHelper.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-24 21:50:49 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-24 21:50:49 -0400
commitfa372b7b846893afdd5c1a1fb888903eea4ab159 (patch)
tree1a9df8f05b0981acf1b4f3ccc7bf51454d5c50ee /app/Controller/TaskHelper.php
parenta1d795baaaf940819241ac794c7af209d0b4667e (diff)
Remove controller action for Markdown preview
Diffstat (limited to 'app/Controller/TaskHelper.php')
-rw-r--r--app/Controller/TaskHelper.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/app/Controller/TaskHelper.php b/app/Controller/TaskHelper.php
index 236af33e..7e340a6a 100644
--- a/app/Controller/TaskHelper.php
+++ b/app/Controller/TaskHelper.php
@@ -11,22 +11,6 @@ namespace Kanboard\Controller;
class TaskHelper extends Base
{
/**
- * Render Markdown text and reply with the HTML Code
- *
- * @access public
- */
- public function preview()
- {
- $payload = $this->request->getJson();
-
- if (empty($payload['text'])) {
- $this->response->html('<p>'.t('Nothing to preview...').'</p>');
- }
-
- $this->response->html($this->helper->text->markdown($payload['text']));
- }
-
- /**
* Task autocompletion (Ajax)
*
* @access public