new routes

This commit is contained in:
Ludovic CANDELLIER
2022-06-13 23:30:06 +02:00
parent 79c717ae6c
commit 8b334bc8ed
2 changed files with 8 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
Route::prefix('Categories')->name('Categories.')->group(function () {
Route::get('', 'CategoryController@index')->name('index');
Route::get('show/{id}/{by_rows?}', 'CategoryController@show')->name('show');
Route::any('show/{id}', 'CategoryController@show')->name('show');
Route::get('getTree', 'CategoryController@getTree')->name('getTree');
});