diff options
| author | Frederic Guillot <fred@kanboard.net> | 2016-01-31 21:44:49 -0500 |
|---|---|---|
| committer | Frederic Guillot <fred@kanboard.net> | 2016-01-31 21:44:49 -0500 |
| commit | 26492aba7ee2bfb8c525ea0aaa580aff47a414ba (patch) | |
| tree | de2ebb411685057a2a8723ca7f763966478a39f7 /app/Controller/Comment.php | |
| parent | 271543431e999032d6e91197633119309fa6c622 (diff) | |
Simplify layout and templates generation
Diffstat (limited to 'app/Controller/Comment.php')
| -rw-r--r-- | app/Controller/Comment.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Controller/Comment.php b/app/Controller/Comment.php index 549c0c65..1e94779f 100644 --- a/app/Controller/Comment.php +++ b/app/Controller/Comment.php @@ -47,7 +47,7 @@ class Comment extends Base ); } - $this->response->html($this->taskLayout('comment/create', array( + $this->response->html($this->helper->layout->task('comment/create', array( 'values' => $values, 'errors' => $errors, 'task' => $task, @@ -90,7 +90,7 @@ class Comment extends Base $task = $this->getTask(); $comment = $this->getComment(); - $this->response->html($this->taskLayout('comment/edit', array( + $this->response->html($this->helper->layout->task('comment/edit', array( 'values' => empty($values) ? $comment : $values, 'errors' => $errors, 'comment' => $comment, @@ -135,7 +135,7 @@ class Comment extends Base $task = $this->getTask(); $comment = $this->getComment(); - $this->response->html($this->taskLayout('comment/remove', array( + $this->response->html($this->helper->layout->task('comment/remove', array( 'comment' => $comment, 'task' => $task, 'title' => t('Remove a comment') |
