Skip to content

Commit

Permalink
Update api.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Geeky101 authored Jan 11, 2025
1 parent ef88950 commit a6e229e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@
// 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::prefix('api/v1')->group(function() {
Route::resource('tasks', \App\Http\Controllers\Api\V1\TaskController::class);
});

});

0 comments on commit a6e229e

Please sign in to comment.