summaryrefslogtreecommitdiff
path: root/app/Controller/Doc.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/Doc.php
parent271543431e999032d6e91197633119309fa6c622 (diff)
Simplify layout and templates generation
Diffstat (limited to 'app/Controller/Doc.php')
-rw-r--r--app/Controller/Doc.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Controller/Doc.php b/app/Controller/Doc.php
index a233b120..6f309d48 100644
--- a/app/Controller/Doc.php
+++ b/app/Controller/Doc.php
@@ -52,8 +52,6 @@ class Doc extends Base
}
}
- $this->response->html($this->template->layout('doc/show', $this->readFile($filename) + array(
- 'board_selector' => $this->projectUserRole->getActiveProjectsByUser($this->userSession->getId()),
- )));
+ $this->response->html($this->helper->layout->app('doc/show', $this->readFile($filename)));
}
}