brand
This commit is contained in:
parent
caa07ad358
commit
66c0ba3217
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue