diff --git a/user_guide_src/source/general/modules.rst b/user_guide_src/source/general/modules.rst index b2d36173eb03..0c38a36bb14b 100644 --- a/user_guide_src/source/general/modules.rst +++ b/user_guide_src/source/general/modules.rst @@ -153,6 +153,9 @@ the **Modules** config file, described above. .. note:: Since the files are being included into the current scope, the ``$routes`` instance is already defined for you. It will cause errors if you attempt to redefine that class. +When working with modules, it can be a problem if the routes in the application contain wildcards. +In that case, see :ref:`routing-priority`. + Filters ======= diff --git a/user_guide_src/source/incoming/routing.rst b/user_guide_src/source/incoming/routing.rst index 5f18fb4960d8..0e9f3bb4e6be 100644 --- a/user_guide_src/source/incoming/routing.rst +++ b/user_guide_src/source/incoming/routing.rst @@ -456,7 +456,7 @@ be used when the first parameter is a language string:: // Creates: $routes['users/(:num)'] = 'users/show/$2'; -.. _priority: +.. _routing-priority: Route processing queue ---------------------- @@ -590,7 +590,7 @@ Route processing by priority Enables or disables processing of the routes queue by priority. Lowering the priority is defined in the route option. Disabled by default. This functionality affects all routes. -For an example of use lowering the priority see :ref:`priority`:: +For an example use of lowering the priority see :ref:`routing-priority`:: // to enable $routes->setPrioritize();