Skip to content

Commit ac1d6dc

Browse files
committed
docs: change note to important
1 parent 848c598 commit ac1d6dc

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/incoming/controllers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ Your method will be passed URI segments 3 and 4 (``'sandals'`` and ``'123'``):
274274

275275
.. literalinclude:: controllers/022.php
276276

277-
.. note:: If there are more parameters in the URI than the method parameters,
277+
.. important:: If there are more parameters in the URI than the method parameters,
278278
Auto Routing (Improved) does not execute the method, and it results in 404
279279
Not Found.
280280

user_guide_src/source/incoming/routing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ The default controller is also used when no matching route has been found, and t
681681
in the controllers directory. For example, if the user visits **example.com/admin**, if a controller was found at
682682
**app/Controllers/Admin/Home.php**, it would be used.
683683

684-
.. note:: You cannot access the default controller with the URI of the controller name.
684+
.. important:: You cannot access the default controller with the URI of the controller name.
685685
When the default controller is ``Home``, you can access **example.com/**, but if you access **example.com/home**, it will be not found.
686686

687687
See :ref:`Auto Routing in Controllers <controller-auto-routing-improved>` for more info.
@@ -698,7 +698,7 @@ In this example, if the user were to visit **example.com/products**, and a ``Pro
698698

699699
.. literalinclude:: routing/048.php
700700

701-
.. note:: You cannot access the controller with the URI of the default method name.
701+
.. important:: You cannot access the controller with the URI of the default method name.
702702
In the example above, you can access **example.com/products**, but if you access **example.com/products/listall**, it will be not found.
703703

704704
.. _auto-routing-legacy:

0 commit comments

Comments
 (0)