From e2bd1f6544f5cef53b557f8aa3cace1f5e9599cc Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 31 Dec 2017 11:10:36 +0100 Subject: [PATCH] Update breadcrumbs for PHP 7.2 #1079 --- config/breadcrumbs.php | 2 +- resources/views/partials/breadcrumbs.twig | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 resources/views/partials/breadcrumbs.twig diff --git a/config/breadcrumbs.php b/config/breadcrumbs.php index 764f93c676..dcfbba2987 100644 --- a/config/breadcrumbs.php +++ b/config/breadcrumbs.php @@ -18,7 +18,7 @@ return [ | */ - 'view' => 'breadcrumbs::bootstrap3', + 'view' => 'partials/breadcrumbs', /* |-------------------------------------------------------------------------- diff --git a/resources/views/partials/breadcrumbs.twig b/resources/views/partials/breadcrumbs.twig new file mode 100644 index 0000000000..8aa74ca38c --- /dev/null +++ b/resources/views/partials/breadcrumbs.twig @@ -0,0 +1,16 @@ + +{% if breadcrumbs|length > 0 %} + + +{% endif %} + + +