diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-06 20:08:15 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-06 20:08:15 -0500 |
commit | a27d5cd1fd269e0e60b4700171e73fead0d398c0 (patch) | |
tree | e67525e2ffe20f8a7d18c0258f946c3433e8f692 /app/ServiceProvider/RouteProvider.php | |
parent | 77a91b7adeb950a906c660bbb5c39c69a75e429d (diff) |
Add missing routes
Diffstat (limited to 'app/ServiceProvider/RouteProvider.php')
-rw-r--r-- | app/ServiceProvider/RouteProvider.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/ServiceProvider/RouteProvider.php b/app/ServiceProvider/RouteProvider.php index 4a848669..9d54203c 100644 --- a/app/ServiceProvider/RouteProvider.php +++ b/app/ServiceProvider/RouteProvider.php @@ -38,6 +38,7 @@ class RouteProvider implements ServiceProviderInterface $container['route']->addRoute('dashboard/:user_id/subtasks', 'app', 'subtasks'); $container['route']->addRoute('dashboard/:user_id/calendar', 'app', 'calendar'); $container['route']->addRoute('dashboard/:user_id/activity', 'app', 'activity'); + $container['route']->addRoute('dashboard/:user_id/notifications', 'app', 'notifications'); // Search routes $container['route']->addRoute('search', 'search', 'index'); @@ -107,6 +108,15 @@ class RouteProvider implements ServiceProviderInterface $container['route']->addRoute('export/transitions/:project_id', 'export', 'transitions'); $container['route']->addRoute('export/summary/:project_id', 'export', 'summary'); + // Analytics routes + $container['route']->addRoute('analytics/tasks/:project_id', 'analytic', 'tasks'); + $container['route']->addRoute('analytics/users/:project_id', 'analytic', 'users'); + $container['route']->addRoute('analytics/cfd/:project_id', 'analytic', 'cfd'); + $container['route']->addRoute('analytics/burndown/:project_id', 'analytic', 'burndown'); + $container['route']->addRoute('analytics/average-time-column/:project_id', 'analytic', 'averageTimeByColumn'); + $container['route']->addRoute('analytics/lead-cycle-time/:project_id', 'analytic', 'leadAndCycleTime'); + $container['route']->addRoute('analytics/estimated-spent-time/:project_id', 'analytic', 'compareHours'); + // Board routes $container['route']->addRoute('board/:project_id', 'board', 'show'); $container['route']->addRoute('b/:project_id', 'board', 'show'); |