remove brands
This commit is contained in:
parent
8dd858b95b
commit
af5628c2cc
|
|
@ -286,7 +286,7 @@ return [
|
|||
Sarga\Shop\Providers\ShopServiceProvider::class,
|
||||
Sarga\API\Providers\APIServiceProvider::class,
|
||||
Sarga\Admin\Providers\AdminServiceProvider::class,
|
||||
Sarga\Brand\Providers\BrandServiceProvider::class,
|
||||
// Sarga\Brand\Providers\BrandServiceProvider::class,
|
||||
Sarga\Payment\Providers\PaymentServiceProvider::class,
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'key' => 'catalog.brand',
|
||||
'name' => 'brand::app.brands',
|
||||
'route' => 'admin.catalog.brand.index',
|
||||
'sort' => 5,
|
||||
'icon-class' => '',
|
||||
]
|
||||
// [
|
||||
// 'key' => 'catalog.brand',
|
||||
// 'name' => 'brand::app.brands',
|
||||
// 'route' => 'admin.catalog.brand.index',
|
||||
// 'sort' => 5,
|
||||
// 'icon-class' => '',
|
||||
// ]
|
||||
];
|
||||
|
|
@ -12,10 +12,10 @@ class BrandServiceProvider extends ServiceProvider
|
|||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
$this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');
|
||||
$this->loadRoutesFrom(__DIR__ . '/../Routes/brand-routes.php');
|
||||
$this->loadViewsFrom(__DIR__ . '/../Resources/views', 'brand');
|
||||
$this->loadTranslationsFrom(__DIR__ . '/../Resources/lang', 'brand');
|
||||
// $this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');
|
||||
// $this->loadRoutesFrom(__DIR__ . '/../Routes/brand-routes.php');
|
||||
// $this->loadViewsFrom(__DIR__ . '/../Resources/views', 'brand');
|
||||
// $this->loadTranslationsFrom(__DIR__ . '/../Resources/lang', 'brand');
|
||||
// Log::info('brandd service provider');
|
||||
$this->app->register(EventServiceProvider::class);
|
||||
// CategoryProxy::observe(CategoryObserver::class);
|
||||
|
|
@ -23,14 +23,14 @@ class BrandServiceProvider extends ServiceProvider
|
|||
|
||||
public function register()
|
||||
{
|
||||
$this->mergeConfigFrom(
|
||||
dirname(__DIR__) . '/Config/menu.php',
|
||||
'menu.admin'
|
||||
);
|
||||
// $this->mergeConfigFrom(
|
||||
// dirname(__DIR__) . '/Config/menu.php',
|
||||
// 'menu.admin'
|
||||
// );
|
||||
|
||||
$this->mergeConfigFrom(
|
||||
dirname(__DIR__) . '/Config/concord.php',
|
||||
'concord.modules'
|
||||
);
|
||||
// $this->mergeConfigFrom(
|
||||
// dirname(__DIR__) . '/Config/concord.php',
|
||||
// 'concord.modules'
|
||||
// );
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue