🔧 Permet 2 URL pour la même action
This commit is contained in:
parent
1fb0562823
commit
2dcdefe8e5
@ -28,7 +28,7 @@ Route::get('/home', static function () {
|
|||||||
return redirect(\route('login'));
|
return redirect(\route('login'));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Route::get('/list', 'PublicController@list')->name('public.list');
|
Route::get('/list{lang}', 'PublicController@list')->name('public.list')->where('lang', '(|e)');
|
||||||
Route::get('/{slug}', 'PublicController@show')->name('public.view');
|
Route::get('/{slug}', 'PublicController@show')->name('public.view');
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user