diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-15 18:31:47 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-15 18:31:47 -0400 |
commit | 67b836164997527b91452b19adbcb8aa3c5decf1 (patch) | |
tree | b5876d311912e97b0592c7e208639f7b52813a75 /app/Controller/Projectuser.php | |
parent | 108e867605dbc7ece4cbcbecc89a674e9c154a9b (diff) |
Refactoring: added controlled middleware and changed response class
Diffstat (limited to 'app/Controller/Projectuser.php')
-rw-r--r-- | app/Controller/Projectuser.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Projectuser.php b/app/Controller/Projectuser.php index a6d4fe4e..fe1fe0f1 100644 --- a/app/Controller/Projectuser.php +++ b/app/Controller/Projectuser.php @@ -12,7 +12,7 @@ use Kanboard\Core\Security\Role; * @package controller * @author Frederic Guillot */ -class Projectuser extends Base +class Projectuser extends BaseController { private function common() { @@ -94,7 +94,7 @@ class Projectuser extends Base */ public function members() { - $this->role(ROLE::PROJECT_MEMBER, 'members', t('People who are project members'), 'Projects where "%s" is member'); + $this->role(Role::PROJECT_MEMBER, 'members', t('People who are project members'), 'Projects where "%s" is member'); } /** |