diff --git a/packages/Sarga/API/Http/routes.php b/packages/Sarga/API/Http/routes.php index 8bc7be2..378acaf 100644 --- a/packages/Sarga/API/Http/routes.php +++ b/packages/Sarga/API/Http/routes.php @@ -51,13 +51,13 @@ Route::group(['prefix' => 'api'], function () { Route::get('brands', [Brands::class, 'allResources']); //attributes by code - // Route::get('attribute-options', [ResourceController::class, 'index'])->defaults('_config', [ - // 'repository' => AttributeOptionRepository::class, - // 'resource' => AttributeOption::class, - // ]); + Route::get('attribute-optionsq', [ResourceController::class, 'index'])->defaults('_config', [ + 'repository' => AttributeOptionRepository::class, + 'resource' => AttributeOption::class, + ]); Route::get('home', [Products::class, 'home']); - Route::post('search/image', [Products::class, 'searchImg']); + // Route::post('search/image', [Products::class, 'searchImg']); Route::post('page-content', [Products::class, 'contents']); //Product routes