summaryrefslogtreecommitdiff
path: root/controllers/base.php
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-03-04 21:57:12 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-03-04 21:57:12 -0500
commit19409360ca7d4c00d070b16bbfcc6cd02543cdca (patch)
tree3eb3a3d0fce2d74c550135f3119182e1d1aa0fe2 /controllers/base.php
parentccc54c65cf2191e35bd0294c0ffbae761b29f151 (diff)
Improve comments
Diffstat (limited to 'controllers/base.php')
-rw-r--r--controllers/base.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/controllers/base.php b/controllers/base.php
index cf423402..6dc9c0be 100644
--- a/controllers/base.php
+++ b/controllers/base.php
@@ -15,6 +15,7 @@ require __DIR__.'/../models/user.php';
require __DIR__.'/../models/project.php';
require __DIR__.'/../models/task.php';
require __DIR__.'/../models/board.php';
+require __DIR__.'/../models/comment.php';
abstract class Base
{
@@ -28,6 +29,7 @@ abstract class Base
protected $board;
protected $config;
protected $acl;
+ protected $comment;
public function __construct()
{
@@ -41,6 +43,7 @@ abstract class Base
$this->task = new \Model\Task;
$this->board = new \Model\Board;
$this->acl = new \Model\Acl;
+ $this->comment = new \Model\Comment;
}
public function beforeAction($controller, $action)