This commit is contained in:
ludo
2024-02-19 23:51:32 +01:00
parent 15a6621a56
commit 869b148e20
18 changed files with 440 additions and 85 deletions

View File

@@ -2,5 +2,6 @@
Route::prefix('Articles')->name('Articles.')->group(function () {
Route::any('autocomplete/{q?}', 'ArticleController@autocomplete')->name('autocomplete');
Route::get('show/{id}', 'ArticleController@show')->name('show');
Route::get('show/{id?}', 'ArticleController@show')->name('show');
Route::get('voir/{slug?}', 'ArticleController@showBySlug')->name('slug');
});