summaryrefslogtreecommitdiff
path: root/controllers/base.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-05-21 22:33:57 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-05-21 22:33:57 -0400
commita750b8ab2a0cb715da6fd9025a7ec8375db68a4d (patch)
tree5d5cdac1830336baf93b057e93cd2c1c56f405de /controllers/base.php
parent57e40671af56ae49eda467d9d5949bf9707020ee (diff)
Add categories for projects and tasks
Diffstat (limited to 'controllers/base.php')
-rw-r--r--controllers/base.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/controllers/base.php b/controllers/base.php
index 07c5db63..49376dce 100644
--- a/controllers/base.php
+++ b/controllers/base.php
@@ -131,6 +131,14 @@ abstract class Base
protected $google;
/**
+ * Category model
+ *
+ * @accesss protected
+ * @var \Model\Category
+ */
+ protected $category;
+
+ /**
* Event instance
*
* @accesss protected
@@ -157,6 +165,7 @@ abstract class Base
$this->rememberMe = $registry->rememberMe;
$this->lastLogin = $registry->lastLogin;
$this->google = $registry->google;
+ $this->category = $registry->category;
$this->event = $registry->shared('event');
}