Skip to content

Commit

Permalink
Second trial
Browse files Browse the repository at this point in the history
  • Loading branch information
devNenyasha committed Sep 20, 2023
1 parent afec478 commit 6d70843
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
// Add ONE line to assign 5 resource routes to TaskController
// Put one code line here below
Route::resource('/v1/tasks',\App\Http\Controllers\Api\V1\TaskController::class);

});

3 changes: 1 addition & 2 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
// Task 8: Manage tasks with URL /app/tasks/***.
// Add ONE line to assign 7 resource routes to TaskController
// Put one code line here below
Route::resource('task', [TaskController::class]);
Route::resource('task', TaskController::class);
// End of the /app Route Group
});

Expand All @@ -69,7 +69,6 @@
// Put one Route Group code line here below
Route::prefix('admin')->middleware(['is_admin'])->group(function () {


// Tasks inside that /admin group:


Expand Down

0 comments on commit 6d70843

Please sign in to comment.