summaryrefslogtreecommitdiff
path: root/app/Controller/Activity.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/Activity.php')
-rw-r--r--app/Controller/Activity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Activity.php b/app/Controller/Activity.php
index 24327c23..71d5e94f 100644
--- a/app/Controller/Activity.php
+++ b/app/Controller/Activity.php
@@ -20,7 +20,7 @@ class Activity extends Base
$project = $this->getProject();
$this->response->html($this->template->layout('activity/project', array(
- 'board_selector' => $this->projectPermission->getAllowedProjects($this->userSession->getId()),
+ 'board_selector' => $this->projectUserRole->getProjectsByUser($this->userSession->getId()),
'events' => $this->projectActivity->getProject($project['id']),
'project' => $project,
'title' => t('%s\'s activity', $project['name'])