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']);
|
Route::get('brands', [Brands::class, 'allResources']);
|
||||||
|
|
||||||
//attributes by code
|
//attributes by code
|
||||||
// Route::get('attribute-options', [ResourceController::class, 'index'])->defaults('_config', [
|
Route::get('attribute-optionsq', [ResourceController::class, 'index'])->defaults('_config', [
|
||||||
// 'repository' => AttributeOptionRepository::class,
|
'repository' => AttributeOptionRepository::class,
|
||||||
// 'resource' => AttributeOption::class,
|
'resource' => AttributeOption::class,
|
||||||
// ]);
|
]);
|
||||||
|
|
||||||
Route::get('home', [Products::class, 'home']);
|
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']);
|
Route::post('page-content', [Products::class, 'contents']);
|
||||||
|
|
||||||
//Product routes
|
//Product routes
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue