diff --git a/routes/api.php b/routes/api.php index 39ecc07c6..fc359c6fe 100644 --- a/routes/api.php +++ b/routes/api.php @@ -23,5 +23,5 @@ // Keep in mind that prefix should be /api/v1. // Add ONE line to assign 5 resource routes to TaskController // Put one code line here below - + Route::apiResource('/tasks', [TaskController::class])->prefix('/api/v1'); });