Skip to content

Commit

Permalink
Update in web.php file
Browse files Browse the repository at this point in the history
  • Loading branch information
Asad0112 committed Sep 27, 2023
1 parent f0a599b commit 619d44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
});
});

Route::prefix('admin')->middleware('is_admin')->group(function () {
Route::group(['prefix' => 'admin', 'middleware' => 'is_admin'], function () {
Route::get('/dashboard', AdminDashboardController::class);
Route::get('/stats', DashboardController::class);
});
Expand Down

0 comments on commit 619d44d

Please sign in to comment.