summaryrefslogtreecommitdiff
path: root/app/Controller/Category.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-13 20:04:34 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-13 20:04:34 -0500
commite4efc73a90b0ef62b5d828db53a365184be40137 (patch)
tree77a376887a5b5e2f623f8642258ccb0c6846532d /app/Controller/Category.php
parent84770123b4784a74b804a00facaea5bf9ae14c9f (diff)
Move category template to a subfolder
Diffstat (limited to 'app/Controller/Category.php')
-rw-r--r--app/Controller/Category.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Controller/Category.php b/app/Controller/Category.php
index 4a0128f3..d69ed115 100644
--- a/app/Controller/Category.php
+++ b/app/Controller/Category.php
@@ -38,7 +38,7 @@ class Category extends Base
{
$project = $this->getProjectManagement();
- $this->response->html($this->projectLayout('category_index', array(
+ $this->response->html($this->projectLayout('category/index', array(
'categories' => $this->category->getList($project['id'], false),
'values' => array('project_id' => $project['id']),
'errors' => array(),
@@ -70,7 +70,7 @@ class Category extends Base
}
}
- $this->response->html($this->projectLayout('category_index', array(
+ $this->response->html($this->projectLayout('category/index', array(
'categories' => $this->category->getList($project['id'], false),
'values' => $values,
'errors' => $errors,
@@ -89,7 +89,7 @@ class Category extends Base
$project = $this->getProjectManagement();
$category = $this->getCategory($project['id']);
- $this->response->html($this->projectLayout('category_edit', array(
+ $this->response->html($this->projectLayout('category/edit', array(
'values' => $category,
'errors' => array(),
'project' => $project,
@@ -120,7 +120,7 @@ class Category extends Base
}
}
- $this->response->html($this->projectLayout('category_edit', array(
+ $this->response->html($this->projectLayout('category/edit', array(
'values' => $values,
'errors' => $errors,
'project' => $project,
@@ -138,7 +138,7 @@ class Category extends Base
$project = $this->getProjectManagement();
$category = $this->getCategory($project['id']);
- $this->response->html($this->projectLayout('category_remove', array(
+ $this->response->html($this->projectLayout('category/remove', array(
'project' => $project,
'category' => $category,
'title' => t('Remove a category')