Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions en/views/helpers/breadcrumbs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,17 @@ 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']
);

// Insert after another crumb, based on the title.
// 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']
);

Expand Down