You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user_guide_src/source/incoming/routing.rst
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,7 @@ a simple view:
193
193
194
194
.. literalinclude:: routing/020.php
195
195
196
-
Mapping multiple routes
196
+
Mapping Multiple Routes
197
197
=======================
198
198
199
199
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
351
351
in which case the filter you specified to the route will not be applied.
352
352
See :ref:`use-defined-routes-only` to disable auto-routing.
353
353
354
-
**Alias filter**
354
+
Alias Filter
355
+
^^^^^^^^^^^^
355
356
356
357
You specify an alias defined in **app/Config/Filters.php** for the filter value:
357
358
@@ -361,13 +362,15 @@ You may also supply arguments to be passed to the alias filter's ``before()`` an
361
362
362
363
.. literalinclude:: routing/035.php
363
364
364
-
**Classname filter**
365
+
Classname Filter
366
+
^^^^^^^^^^^^^^^^
365
367
366
368
You specify a filter classname for the filter value:
367
369
368
370
.. literalinclude:: routing/036.php
369
371
370
-
**Multiple filters**
372
+
Multiple Filters
373
+
^^^^^^^^^^^^^^^^
371
374
372
375
.. 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.
0 commit comments