summaryrefslogtreecommitdiff
path: root/app/ServiceProvider/RouteProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/ServiceProvider/RouteProvider.php')
-rw-r--r--app/ServiceProvider/RouteProvider.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/ServiceProvider/RouteProvider.php b/app/ServiceProvider/RouteProvider.php
index bf161ef5..6b1d0d88 100644
--- a/app/ServiceProvider/RouteProvider.php
+++ b/app/ServiceProvider/RouteProvider.php
@@ -108,6 +108,12 @@ class RouteProvider implements ServiceProviderInterface
$container['router']->addRoute('project/:project_id/task/:task_id/move', 'taskduplication', 'move', array('task_id', 'project_id'));
$container['router']->addRoute('project/:project_id/task/:task_id/move/:dst_project_id', 'taskduplication', 'move', array('task_id', 'project_id', 'dst_project_id'));
+ // Exports
+ $container['router']->addRoute('export/tasks/:project_id', 'export', 'tasks', array('project_id'));
+ $container['router']->addRoute('export/subtasks/:project_id', 'export', 'subtasks', array('project_id'));
+ $container['router']->addRoute('export/transitions/:project_id', 'export', 'transitions', array('project_id'));
+ $container['router']->addRoute('export/summary/:project_id', 'export', 'summary', array('project_id'));
+
// Board routes
$container['router']->addRoute('board/:project_id', 'board', 'show', array('project_id'));
$container['router']->addRoute('b/:project_id', 'board', 'show', array('project_id'));