diff --git a/routes/web.php b/routes/web.php index b719dc5..9b0fa4e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -129,7 +129,7 @@ foreach ($langs as $lang) { Route::get('/'.Str::slug(Lang::get('urls.gammes',[], $lang)), [ControllersGammesController::class, 'index'])->name('gammes.index'); Route::get('/'.Str::slug(Lang::get('urls.gamme',[], $lang)).'/{gammeSlug}', [ControllersGammesController::class, 'show'])->name('gammes.show'); Route::get( - '/produit/{gammeSlug}/{productSlug}', + '/'.Str::slug(Lang::get('urls.produit',[], $lang)).'/{gammeSlug}/{productSlug}', [ControllersProductsController::class, 'show'] )->name('product.show'); Route::get('/'.Str::slug(Lang::get('urls.news',[], $lang)), [ControllersNewsController::class, 'index'])->name('news');