Skip to content

Commit

Permalink
Fixed breadcrumb logic
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopattila122 authored Jul 30, 2024
1 parent c547e1b commit a321ec6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resources/routes/breadcrumbs.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
});

0 comments on commit a321ec6

Please sign in to comment.