From 19c171379b9565047a094fd604583feac322bf44 Mon Sep 17 00:00:00 2001 From: JulianDierker Date: Thu, 8 Apr 2021 10:11:20 +0200 Subject: [PATCH] debugging routing --- Yuoshi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yuoshi.php b/Yuoshi.php index 4761b4b..ba7df8b 100644 --- a/Yuoshi.php +++ b/Yuoshi.php @@ -107,7 +107,7 @@ public function registerAuthenticatedRoutes(\Slim\App $app) $app->get('/stations', StationController::class . ':index'); $app->get('/stations/{id}', StationController::class . ':show'); - $app->get('/stations/{id}/tasks', StationController::class . ':show'); + $app->get('/stations/{id}/tasks', TasksController::class . ':index'); $app->delete('/stations/{station_id}', StationController::class . ':delete'); $app->post('/stations', StationController::class . ':create');