skip to Main Content

I have a problem in Laravel with .blade.php views

This are my routes Route::get('/product/create',[ProductoController::class,'createProduct'])->name('product.create')->middleware('auth'); Route::post('/product/create',[ProductoController::class,'storeProduct'])->middleware('auth'); Route::get('/product/edit/{id}',[ProductoController::class, 'editProduct'])->name('product.edit'); Route::put('/product/update/{id}',[ProductoController::class, 'updateProduct'])->name('product.update'); I have a view that I use to create products and edit products but when I create the product the entire design appears but when I click edit it updates…

VIEW QUESTION
Back To Top
Search