Rebuild frontend.

This commit is contained in:
James Cole
2020-10-01 14:24:35 +02:00
parent b3edbecde2
commit 9ab034c1ad
31 changed files with 167 additions and 61 deletions

View File

@@ -49,7 +49,7 @@ class Breadcrumbs extends AbstractExtension
{
return new TwigFunction(
'ff3bc',
static function (array $args): string {
static function (?array $args): string {
$name = Route::getCurrentRoute()->getName() ?? '';
// loop for actual breadcrumb: