Skip to content

Commit 062e8d5

Browse files
committed
docs: fix incorrect sample code
(:any) matches multiple segments.
1 parent e431447 commit 062e8d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • user_guide_src/source/incoming/routing
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<?php
22

3-
$routes->get('product/(:any)', 'Catalog::productLookup');
3+
$routes->get('product/(:segment)', 'Catalog::productLookup');

0 commit comments

Comments
 (0)