From dc0eb795b9863d9de140f1530e519f5a2dfa9668 Mon Sep 17 00:00:00 2001 From: yosus <5551430+yosus@users.noreply.github.com> Date: Mon, 22 Dec 2025 10:01:28 +0800 Subject: [PATCH] Update breadcrumbs.rst Corrected insertBefore & insertAfter --- en/views/helpers/breadcrumbs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/views/helpers/breadcrumbs.rst b/en/views/helpers/breadcrumbs.rst index 08e96c54a7..a20e54cf00 100644 --- a/en/views/helpers/breadcrumbs.rst +++ b/en/views/helpers/breadcrumbs.rst @@ -59,8 +59,8 @@ In addition to adding to the end of the trail, you can do a variety of operation // If the named crumb title cannot be found, // an exception will be raised. $this->Breadcrumbs->insertBefore( - 'A product name', // the title of the crumb to insert before 'Products', + 'A product name 1', // the title of the crumb to insert before ['controller' => 'products', 'action' => 'index'] ); @@ -68,8 +68,8 @@ In addition to adding to the end of the trail, you can do a variety of operation // If the named crumb title cannot be found, // an exception will be raised. $this->Breadcrumbs->insertAfter( - 'A product name', // the title of the crumb to insert after 'Products', + 'A product name 2', // the title of the crumb to insert after ['controller' => 'products', 'action' => 'index'] );