diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-03-30 21:38:23 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-03-30 21:38:23 -0400 |
commit | 6d80f0b466c2be6f2127f6e6124c3d4e21be38d3 (patch) | |
tree | a6b6ddb0f089b5b3d35e12cd8dbd721058078788 /app/Controller | |
parent | 01f9ee3410bb4f6878033b353f5a0731397632d0 (diff) | |
parent | 58b0159e87f778819b6045ae5a099fa06b4f1a72 (diff) |
Merge pull-request #746
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/Task.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/Controller/Task.php b/app/Controller/Task.php index 64017582..9bd6e711 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -85,6 +85,22 @@ class Task extends Base } /** + * Display task activities + * + * @access public + */ + public function activites() + { + $task = $this->getTask(); + $this->response->html($this->taskLayout('task/events', array( + 'title' => $task['title'], + 'task' => $task, + 'ajax' => $this->request->isAjax(), + 'events' => $this->projectActivity->getTasks([$task['id']]), + ))); + } + + /** * Display a form to create a new task * * @access public |