From b834f5475c8eebb76548046558e7d1464cbd01d4 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 11 Dec 2015 18:21:47 -0500 Subject: Add routes for exports --- app/ServiceProvider/RouteProvider.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app') 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')); -- cgit v1.2.3