summaryrefslogtreecommitdiff
path: root/app/Controller/Project.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/Project.php')
-rw-r--r--app/Controller/Project.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/Controller/Project.php b/app/Controller/Project.php
index deca7e1a..26b241b9 100644
--- a/app/Controller/Project.php
+++ b/app/Controller/Project.php
@@ -407,6 +407,23 @@ class Project extends Base
}
/**
+ * Activity page for a project
+ *
+ * @access public
+ */
+ public function activity()
+ {
+ $project = $this->getProject();
+
+ $this->response->html($this->template->layout('project_activity', array(
+ 'events' => $this->project->getActivity($project['id']),
+ 'menu' => 'projects',
+ 'project' => $project,
+ 'title' => t('%s\'s activity', $project['name'])
+ )));
+ }
+
+ /**
* Task search for a given project
*
* @access public