diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-11-02 15:41:58 -0700 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-11-02 15:41:58 -0700 |
commit | 648dc6bcfbdd44947ec58e2f3662c1cc3844d782 (patch) | |
tree | d122630decf0bf4a7a199798835481592424a3b0 /app/Controller/ProjectPredefinedContentController.php | |
parent | 44ae87ac0e9bb37ca6d2b305d410758ff71b42c6 (diff) |
Add predefined templates for task descriptions
Diffstat (limited to 'app/Controller/ProjectPredefinedContentController.php')
-rw-r--r-- | app/Controller/ProjectPredefinedContentController.php | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/app/Controller/ProjectPredefinedContentController.php b/app/Controller/ProjectPredefinedContentController.php index 1195dfa3..709d6b79 100644 --- a/app/Controller/ProjectPredefinedContentController.php +++ b/app/Controller/ProjectPredefinedContentController.php @@ -10,13 +10,6 @@ namespace Kanboard\Controller; */ class ProjectPredefinedContentController extends BaseController { - /** - * Edit project - * - * @access public - * @param array $values - * @param array $errors - */ public function show(array $values = array(), array $errors = array()) { $project = $this->getProject(); @@ -25,15 +18,11 @@ class ProjectPredefinedContentController extends BaseController 'values' => empty($values) ? $project : $values, 'errors' => $errors, 'project' => $project, - 'title' => t('Predefined Contents') + 'predefined_task_descriptions' => $this->predefinedTaskDescriptionModel->getAll($project['id']), + 'title' => t('Predefined Contents'), ))); } - /** - * Validate and update a project - * - * @access public - */ public function update() { $project = $this->getProject(); |