summaryrefslogtreecommitdiff
path: root/app/Controller/Taskduplication.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-08 22:02:42 -0500
committerFrederic Guillot <fred@kanboard.net>2016-03-08 22:02:42 -0500
commitf91f3214c12e315afd8984653ea2d9db8408793d (patch)
tree45de211e61189da032f1646f67c4de2a566558dc /app/Controller/Taskduplication.php
parentd4eea1e252771e5f764c7654c7b9fc1b86b2ce9d (diff)
Always display project name and task title in task views
Diffstat (limited to 'app/Controller/Taskduplication.php')
-rw-r--r--app/Controller/Taskduplication.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Taskduplication.php b/app/Controller/Taskduplication.php
index 7641a48d..8fca930d 100644
--- a/app/Controller/Taskduplication.php
+++ b/app/Controller/Taskduplication.php
@@ -32,7 +32,7 @@ class Taskduplication extends Base
}
}
- $this->response->html($this->helper->layout->task('task_duplication/duplicate', array(
+ $this->response->html($this->template->render('task_duplication/duplicate', array(
'task' => $task,
)));
}
@@ -128,7 +128,7 @@ class Taskduplication extends Base
$users_list = array();
}
- $this->response->html($this->helper->layout->task($template, array(
+ $this->response->html($this->template->render($template, array(
'values' => $values,
'task' => $task,
'projects_list' => $projects_list,