File tree Expand file tree Collapse file tree
user_guide_src/source/incoming Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,15 +210,6 @@ a simple view:
210210
211211.. literalinclude :: routing/020.php
212212
213- Mapping Multiple Routes
214- =======================
215-
216- While the ``add() `` method is simple to use, it is often handier to work with multiple routes at once, using
217- the ``map() `` method. Instead of calling the ``add() `` method for each route that you need to add, you can
218- define an array of routes and then pass it as the first parameter to the ``map() `` method:
219-
220- .. literalinclude :: routing/021.php
221-
222213.. _redirecting-routes :
223214
224215Redirecting Routes
@@ -333,6 +324,15 @@ You can use the ``add()`` method:
333324 only routes that match the current request method are stored, resulting in fewer routes to scan through
334325 when trying to find a match.
335326
327+ Mapping Multiple Routes
328+ =======================
329+
330+ While the ``add() `` method is simple to use, it is often handier to work with multiple routes at once, using
331+ the ``map() `` method. Instead of calling the ``add() `` method for each route that you need to add, you can
332+ define an array of routes and then pass it as the first parameter to the ``map() `` method:
333+
334+ .. literalinclude :: routing/021.php
335+
336336.. _command-line-only-routes :
337337
338338Command-Line Only Routes
You can’t perform that action at this time.
0 commit comments