From a321ec66d743a1898ca6af8ff7206b09cb44a723 Mon Sep 17 00:00:00 2001 From: Attila Fulop <1162360+fulopattila122@users.noreply.github.com> Date: Tue, 30 Jul 2024 15:53:08 +0300 Subject: [PATCH] Fixed breadcrumb logic --- src/resources/routes/breadcrumbs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resources/routes/breadcrumbs.php b/src/resources/routes/breadcrumbs.php index fbd6865..c7c60f0 100644 --- a/src/resources/routes/breadcrumbs.php +++ b/src/resources/routes/breadcrumbs.php @@ -289,6 +289,6 @@ }); Breadcrumbs::for('vanilo.admin.coupon.edit', function ($breadcrumbs, $promotion, $coupon) { - $breadcrumbs->parent('vanilo.admin.promotion.show', $promotion); - $breadcrumbs->push($coupon->code); + $breadcrumbs->parent('vanilo.admin.coupon.show', $promotion, $coupon); + $breadcrumbs->push(__('Edit')); });