New bread crumb for rules controller.

This commit is contained in:
James Cole 2016-01-11 20:41:43 +01:00
parent 5a7607f6c6
commit c96eb8753e

View File

@ -361,6 +361,16 @@ Breadcrumbs::register(
}
);
/**
* Rules
*/
Breadcrumbs::register(
'rules.index', function (BreadCrumbGenerator $breadcrumbs) {
$breadcrumbs->parent('home');
$breadcrumbs->push(trans('firefly.rules'), route('rules.index'));
}
);
// search
Breadcrumbs::register(
'search', function (BreadCrumbGenerator $breadcrumbs, $query) {