diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-28 14:05:57 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-28 14:05:57 -0400 |
commit | 8d12e2fe736a72d6ad69807ac853a7e325c8cbf3 (patch) | |
tree | ea18a49b44db9bfa55c7e09ee8c939a98b088239 /app/ServiceProvider/RouteProvider.php | |
parent | 1353929a7dbd3f2e897fa7d3ab88e959ca573f9f (diff) |
Split board controller into multiple classes
Diffstat (limited to 'app/ServiceProvider/RouteProvider.php')
-rw-r--r-- | app/ServiceProvider/RouteProvider.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/ServiceProvider/RouteProvider.php b/app/ServiceProvider/RouteProvider.php index 0182fb39..f176e4c0 100644 --- a/app/ServiceProvider/RouteProvider.php +++ b/app/ServiceProvider/RouteProvider.php @@ -115,9 +115,9 @@ class RouteProvider implements ServiceProviderInterface $container['route']->addRoute('analytics/estimated-spent-time/:project_id', 'AnalyticController', 'compareHours'); // Board routes - $container['route']->addRoute('board/:project_id', 'board', 'show'); - $container['route']->addRoute('b/:project_id', 'board', 'show'); - $container['route']->addRoute('public/board/:token', 'board', 'readonly'); + $container['route']->addRoute('board/:project_id', 'BoardViewController', 'show'); + $container['route']->addRoute('b/:project_id', 'BoardViewController', 'show'); + $container['route']->addRoute('public/board/:token', 'BoardViewController', 'readonly'); // Calendar routes $container['route']->addRoute('calendar/:project_id', 'CalendarController', 'show'); |