Skip to content

Commit

Permalink
Merge pull request #34 from xyng/jd/fix/routing
Browse files Browse the repository at this point in the history
debugging routing
  • Loading branch information
juliandierker authored Apr 12, 2021
2 parents f5b70b9 + 19c1713 commit 809c816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Yuoshi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 809c816

Please sign in to comment.