summaryrefslogtreecommitdiff
path: root/app/Controller/File.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-28 11:28:50 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-28 11:28:50 -0500
commit34d7450d3c13342715e90ec21bceaa13e1baa876 (patch)
treea2d8f2f22ad3fe9b56f01fe2db0357f9b963e660 /app/Controller/File.php
parent88d84073aecbe8bdc5f10825b6d7ca6b81c5f7b1 (diff)
Template helpers refactoring
Diffstat (limited to 'app/Controller/File.php')
-rw-r--r--app/Controller/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/File.php b/app/Controller/File.php
index ae44cac0..1585a701 100644
--- a/app/Controller/File.php
+++ b/app/Controller/File.php
@@ -75,7 +75,7 @@ class File extends Base
$file = $this->file->getById($this->request->getIntegerParam('file_id'));
if ($file['task_id'] == $task['id']) {
- $this->response->html($this->template->load('file/open', array(
+ $this->response->html($this->template->render('file/open', array(
'file' => $file
)));
}