Skip to content

Commit bebeedd

Browse files
authored
Merge pull request #5960 from kenjis/fix-docs-routing.rst
docs: small improvements in routing.rst
2 parents 585d3ca + 6e3ab41 commit bebeedd

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

user_guide_src/source/incoming/routing.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ a simple view:
193193

194194
.. literalinclude:: routing/020.php
195195

196-
Mapping multiple routes
196+
Mapping Multiple Routes
197197
=======================
198198

199199
While the ``add()`` method is simple to use, it is often handier to work with multiple routes at once, using
@@ -351,7 +351,8 @@ See :doc:`Controller filters <filters>` for more information on setting up filte
351351
in which case the filter you specified to the route will not be applied.
352352
See :ref:`use-defined-routes-only` to disable auto-routing.
353353

354-
**Alias filter**
354+
Alias Filter
355+
^^^^^^^^^^^^
355356

356357
You specify an alias defined in **app/Config/Filters.php** for the filter value:
357358

@@ -361,13 +362,15 @@ You may also supply arguments to be passed to the alias filter's ``before()`` an
361362

362363
.. literalinclude:: routing/035.php
363364

364-
**Classname filter**
365+
Classname Filter
366+
^^^^^^^^^^^^^^^^
365367

366368
You specify a filter classname for the filter value:
367369

368370
.. literalinclude:: routing/036.php
369371

370-
**Multiple filters**
372+
Multiple Filters
373+
^^^^^^^^^^^^^^^^
371374

372375
.. important:: *Multiple filters* is disabled by default. Because it breaks backward compatibility. If you want to use it, you need to configure. See :ref:`upgrade-415-multiple-filters-for-a-route` for the details.
373376

0 commit comments

Comments
 (0)