From c96eb8753ebf1922b7979aa793c996225f89c45b Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 11 Jan 2016 20:41:43 +0100 Subject: [PATCH] New bread crumb for rules controller. --- app/Http/breadcrumbs.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/Http/breadcrumbs.php b/app/Http/breadcrumbs.php index cf3de22751..6ae979f176 100644 --- a/app/Http/breadcrumbs.php +++ b/app/Http/breadcrumbs.php @@ -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) {