Skip to content

Commit bbc48dc

Browse files
authored
Merge pull request #5382 from kenjis/fix-docs-modules-routing
docs: improve Module Routes
2 parents 7c08819 + 95a0ed5 commit bbc48dc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

user_guide_src/source/general/modules.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ the **Modules** config file, described above.
153153
.. note:: Since the files are being included into the current scope, the ``$routes`` instance is already defined for you.
154154
It will cause errors if you attempt to redefine that class.
155155

156+
When working with modules, it can be a problem if the routes in the application contain wildcards.
157+
In that case, see :ref:`routing-priority`.
158+
156159
Filters
157160
=======
158161

user_guide_src/source/incoming/routing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ be used when the first parameter is a language string::
456456
// Creates:
457457
$routes['users/(:num)'] = 'users/show/$2';
458458

459-
.. _priority:
459+
.. _routing-priority:
460460

461461
Route processing queue
462462
----------------------
@@ -590,7 +590,7 @@ Route processing by priority
590590

591591
Enables or disables processing of the routes queue by priority. Lowering the priority is defined in the route option.
592592
Disabled by default. This functionality affects all routes.
593-
For an example of use lowering the priority see :ref:`priority`::
593+
For an example use of lowering the priority see :ref:`routing-priority`::
594594

595595
// to enable
596596
$routes->setPrioritize();

0 commit comments

Comments
 (0)