|
@@ -6,7 +6,7 @@ use Catch\CatchAdmin;
|
|
use Catch\Providers\CatchModuleServiceProvider;
|
|
use Catch\Providers\CatchModuleServiceProvider;
|
|
use Modules\ContentManage\Middlewares\ContentManageGate;
|
|
use Modules\ContentManage\Middlewares\ContentManageGate;
|
|
|
|
|
|
-class ContentManageServiceProvider extends CatchModuleServiceProvider
|
|
|
|
|
|
+class SystemServiceProvider extends CatchModuleServiceProvider
|
|
{
|
|
{
|
|
/**
|
|
/**
|
|
* middlewares
|
|
* middlewares
|
|
@@ -15,7 +15,7 @@ class ContentManageServiceProvider extends CatchModuleServiceProvider
|
|
*/
|
|
*/
|
|
protected function middlewares(): array
|
|
protected function middlewares(): array
|
|
{
|
|
{
|
|
- return [ContentManageGate::class];
|
|
|
|
|
|
+ return [];
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -26,6 +26,6 @@ class ContentManageServiceProvider extends CatchModuleServiceProvider
|
|
public function moduleName(): string|array
|
|
public function moduleName(): string|array
|
|
{
|
|
{
|
|
// TODO: Implement path() method.
|
|
// TODO: Implement path() method.
|
|
- return 'contentManage';
|
|
|
|
|
|
+ return 'system';
|
|
}
|
|
}
|
|
}
|
|
}
|