app['config']->get('catch.route'); $route['middlewares'][] = PermissionGate::class; $this->app['config']->set('catch.route', $route); } /** * route path * * @return string|array */ public function routePath(): string|array { // TODO: Implement path() method. return CatchAdmin::getModuleRoutePath('Permissions'); } }