Skip to content

Commit 61ae88e

Browse files
committed
docs: add notes
1 parent 35113b7 commit 61ae88e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

user_guide_src/source/incoming/auto_routing_improved.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,10 @@ Your method will be passed URI segments 3 and 4 (``'sandals'`` and ``'123'``):
207207

208208
.. literalinclude:: auto_routing_improved/022.php
209209

210+
.. note:: If there are more parameters in the URI than the method parameters,
211+
Auto Routing (Improved) does not execute the method, and it results in 404
212+
Not Found.
213+
210214
******************
211215
Default Controller
212216
******************
@@ -217,6 +221,10 @@ your site root URL is requested.
217221

218222
By default, the Default Controller is ``Home``.
219223

224+
.. note:: Define only the default method (``getIndex()`` for GET requests)
225+
in the default controller. If you define any other public method, that method
226+
will not be executed.
227+
220228
For more information, please refer to the
221229
:ref:`routing-auto-routing-improved-configuration-options`.
222230

0 commit comments

Comments
 (0)