diff --git a/src/Providers/ModuleServiceProvider.php b/src/Providers/ModuleServiceProvider.php index 66f518b..00737b0 100644 --- a/src/Providers/ModuleServiceProvider.php +++ b/src/Providers/ModuleServiceProvider.php @@ -17,8 +17,6 @@ public function boot() $this->app->alias('widget.manager', WidgetManager::class); $this->app['view']->addNamespace('snippets', snippets_path()); - - $this->registerNavigation(); } public function register() @@ -29,7 +27,7 @@ public function register() ]); } - private function registerNavigation() + public function contextBackend() { if ($navigation = \Navigation::getPages()->findById('design')) { $navigation->setFromArray([