2021年4月7日星期三

Laravel 8 prefix to current route

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.

enter image description here

https://stackoverflow.com/questions/66991195/laravel-8-prefix-to-current-route April 08, 2021 at 01:31AM

没有评论:

发表评论