oubli traduction url 'produit'

This commit is contained in:
Olivier Legat 2022-05-13 13:43:49 +02:00
parent 66dc8cb800
commit c328424e95
No known key found for this signature in database
GPG key ID: E6DCE8D1E33A5803

View file

@ -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');