summaryrefslogtreecommitdiff
path: root/app/Controller/Search.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-31 21:44:49 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-31 21:44:49 -0500
commit26492aba7ee2bfb8c525ea0aaa580aff47a414ba (patch)
treede2ebb411685057a2a8723ca7f763966478a39f7 /app/Controller/Search.php
parent271543431e999032d6e91197633119309fa6c622 (diff)
Simplify layout and templates generation
Diffstat (limited to 'app/Controller/Search.php')
-rw-r--r--app/Controller/Search.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Controller/Search.php b/app/Controller/Search.php
index 390210c0..9b9b9e65 100644
--- a/app/Controller/Search.php
+++ b/app/Controller/Search.php
@@ -36,8 +36,7 @@ class Search extends Base
$nb_tasks = $paginator->getTotal();
}
- $this->response->html($this->template->layout('search/index', array(
- 'board_selector' => $projects,
+ $this->response->html($this->helper->layout->app('search/index', array(
'values' => array(
'search' => $search,
'controller' => 'search',