我的路由器有寫好可是要編輯卻404
public function edit(product $product)
{
//
return view('Products.edit',compact('product'));
}
Route::resource('/product',ProductController::class)->middleware('auth');
Route::get('/products',function(){return view('Products.index');})->middleware('auth');