From 17a3781bd8c03e6b653104dbcb996a1ff1213959 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 14 Aug 2015 17:03:55 -0400 Subject: Add Gantt chart for projects --- app/common.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/common.php') diff --git a/app/common.php b/app/common.php index 7f66c05e..b8f5ccd2 100644 --- a/app/common.php +++ b/app/common.php @@ -126,6 +126,10 @@ if (ENABLE_URL_REWRITE) { $container['router']->addRoute('l/:project_id', 'listing', 'show', array('project_id')); $container['router']->addRoute('list/:project_id/:search', 'listing', 'show', array('project_id', 'search')); + // Gantt routes + $container['router']->addRoute('gantt/:project_id', 'gantt', 'project', array('project_id')); + $container['router']->addRoute('gantt/:project_id/sort/:sorting', 'gantt', 'project', array('project_id', 'sorting')); + // Subtask routes $container['router']->addRoute('project/:project_id/task/:task_id/subtask/create', 'subtask', 'create', array('project_id', 'task_id')); $container['router']->addRoute('project/:project_id/task/:task_id/subtask/:subtask_id/remove', 'subtask', 'confirm', array('project_id', 'task_id', 'subtask_id')); -- cgit v1.2.3