嗨,我正试着打开一个页面,但上面写着:
对不起,找不到您要找的页面。
文件夹的图片:

路由
Route::match(['get','post'], 'CategoriesController@index');控制器
public function index()
{
return view('admin.categories.index');
}任何解决此issue的建议
发布于 2019-02-18 12:35:06
你错过了它自己的网址。
Route::match(['get', 'post'], '/', 'Controller@action');发布于 2019-02-18 15:23:15
第二个参数是url,您正在丢失它--在您的route:list中,它将CategoriesController@index显示为url。
Route::match(['get', 'post'], '/admin/categories',CategoriesController@index);检查您是否将正确的url放在您的链接底部。
https://stackoverflow.com/questions/54747348
复制相似问题