Skip to content

Commit

Permalink
move to backend context
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed May 25, 2016
1 parent b370484 commit f3f4556
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Providers/ModuleServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -29,7 +27,7 @@ public function register()
]);
}

private function registerNavigation()
public function contextBackend()
{
if ($navigation = \Navigation::getPages()->findById('design')) {
$navigation->setFromArray([
Expand Down

0 comments on commit f3f4556

Please sign in to comment.