Skip to content

Commit

Permalink
Update api.php
Browse files Browse the repository at this point in the history
  • Loading branch information
trr-code authored Dec 15, 2024
1 parent 3d48bf6 commit 2084a08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion routes/api.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

use App\Http\Controllers\Api\V1\TaskController;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;

Expand All @@ -23,5 +24,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('v1/tasks', TaskController::class);
});

0 comments on commit 2084a08

Please sign in to comment.