This repository was archived by the owner on Oct 18, 2020. It is now read-only.

Description
Rather than calling Breadcrumbs::setView, to change the view, specify the default view using a Config option - it seems awkward to have to set the view in application code.
suggested implementation:
eg. in your service provider, something like:
public function register()
{
$this->app['breadcrumbs'] = $this->app->share(function($app)
{
$bc = new BreadcrumbsManager($app['view'])
$bc->setView($app['config']['breadcrumbs::view.name']);
return $bc;
});
}
then set the default value in the a package resources config file.