Route::middleware(['auth', 'admin'])->prefix('admin')->group(function () { Route::get('/', [App\Http\Controllers\Admin\IndexController::class, 'index']); });
and when I go to this url http://127.0.0.1:8000/admin/
it shows error: The requested resource /admin/ was not found on this server.
https://stackoverflow.com/questions/66991195/laravel-8-prefix-to-current-route April 08, 2021 at 01:31AM
没有评论:
发表评论