move autocomplete for customer

This commit is contained in:
ludo
2024-02-07 20:41:04 +01:00
parent 4caf069011
commit 5fc8d3dc57
3 changed files with 9 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<?php
Route::prefix('Articles')->name('Articles.')->group(function () {
Route::get('', 'ArticleController@index')->name('index');
Route::any('autocomplete/{q?}', 'ArticleController@autocomplete')->name('autocomplete');
Route::get('show/{id}', 'ArticleController@show')->name('show');
});