File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
user_guide_src/source/incoming Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,10 @@ Your method will be passed URI segments 3 and 4 (``'sandals'`` and ``'123'``):
207
207
208
208
.. literalinclude :: auto_routing_improved/022.php
209
209
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
+
210
214
******************
211
215
Default Controller
212
216
******************
@@ -217,6 +221,10 @@ your site root URL is requested.
217
221
218
222
By default, the Default Controller is ``Home ``.
219
223
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
+
220
228
For more information, please refer to the
221
229
:ref: `routing-auto-routing-improved-configuration-options `.
222
230
You can’t perform that action at this time.
0 commit comments