summaryrefslogtreecommitdiff
path: root/app/Controller/Doc.php
diff options
context:
space:
mode:
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 32413048..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->projectPermission->getAllowedProjects($this->userSession->getId()),
- )));
+ $this->response->html($this->helper->layout->app('doc/show', $this->readFile($filename)));
}
}