We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3548566 commit 4ddb1ffCopy full SHA for 4ddb1ff
1 file changed
user_guide_src/source/incoming/controllers.rst
@@ -230,11 +230,18 @@ class so that it can inherit all its methods.
230
Methods
231
=======
232
233
+
234
+Default Method
235
+--------------
236
237
In the above example, the method name is ``getIndex()``.
-The method (HTTP verb + ``Index()``) is loaded if the **second segment** of the URI is empty.
238
+The method (HTTP verb + ``Index()``) is called the **default method**, and is loaded if the **second segment** of the URI is empty.
239
-**The second segment of the URI determines which method in the
-controller gets called.**
240
+Normal Methods
241
242
243
+The second segment of the URI determines which method in the
244
+controller gets called.
245
246
Let's try it. Add a new method to your controller:
247
0 commit comments