Skip to content

Commit

Permalink
Fix code or class name examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark authored Nov 26, 2024
1 parent a545451 commit d5592dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/development/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ When using nesting, you need to chain them together::
['prefix' => 'Admin/MyPrefix', 'controller' => 'TodoItems', 'action' => 'create']
);

This would link to a controller with the namespace ``App\\Controller\\Admin\\MyPrefix`` and the file path
This would link to a controller with the namespace ``App\Controller\Admin\MyPrefix`` and the file path
``src/Controller/Admin/MyPrefix/TodoItemsController.php``.

.. note::
Expand Down Expand Up @@ -1579,7 +1579,7 @@ Custom Route Classes
Custom route classes allow you to extend and change how individual routes parse
requests and handle reverse routing. Route classes have a few conventions:

* Route classes are expected to be found in the ``Routing\\Route`` namespace of
* Route classes are expected to be found in the ``Routing\Route`` namespace of
your application or plugin.
* Route classes should extend :php:class:`\\Cake\\Routing\\Route\\Route`.
* Route classes should implement one or both of ``match()`` and/or ``parse()``.
Expand Down

0 comments on commit d5592dd

Please sign in to comment.