Laravel / 怎么访问 show?
Route::resource('/','Blog\IndexController');
a href="{{route('show',$article->id)}}"查看所有
访问show的时候是404
但是改成加个前缀就行了
Route::resource('/article','Blog\IndexController');
a href="{{route('article.show',$article->id)}}"查看所有
请问如何访问/的show
推荐文章: