summaryrefslogtreecommitdiff
path: root/app/ServiceProvider/RouteProvider.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-28 21:24:24 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-28 21:24:24 -0400
commited074d176406ca3ce5ba8fa6e0c4511f729efa5b (patch)
treec5bafd1a6226cf441cfbbaf56be80479260d254a /app/ServiceProvider/RouteProvider.php
parent14d6affe2e42fc86a86fbe5e624dbaacf6b8223c (diff)
Move task import outside of project settings
Diffstat (limited to 'app/ServiceProvider/RouteProvider.php')
-rw-r--r--app/ServiceProvider/RouteProvider.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/ServiceProvider/RouteProvider.php b/app/ServiceProvider/RouteProvider.php
index 2e36e425..3d1391df 100644
--- a/app/ServiceProvider/RouteProvider.php
+++ b/app/ServiceProvider/RouteProvider.php
@@ -58,7 +58,6 @@ class RouteProvider implements ServiceProviderInterface
$container['route']->addRoute('project/:project_id/integrations', 'ProjectViewController', 'integrations');
$container['route']->addRoute('project/:project_id/duplicate', 'ProjectViewController', 'duplicate');
$container['route']->addRoute('project/:project_id/permissions', 'ProjectPermissionController', 'index');
- $container['route']->addRoute('project/:project_id/import', 'TaskImportController', 'step1');
$container['route']->addRoute('project/:project_id/activity', 'ActivityController', 'project');
// Project Overview
@@ -89,6 +88,9 @@ class RouteProvider implements ServiceProviderInterface
// Category routes
$container['route']->addRoute('project/:project_id/categories', 'CategoryController', 'index');
+ // Import routes
+ $container['route']->addRoute('project/:project_id/import', 'TaskImportController', 'show');
+
// Task routes
$container['route']->addRoute('project/:project_id/task/:task_id', 'TaskViewController', 'show');
$container['route']->addRoute('t/:task_id', 'TaskViewController', 'show');