From c328424e9582b69295719420a67edbf4adb56735 Mon Sep 17 00:00:00 2001 From: Olivier Legat Date: Fri, 13 May 2022 13:43:49 +0200 Subject: [PATCH] oubli traduction url 'produit' --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');