Skip to content

Commit 4ddb1ff

Browse files
committed
docs: add section titles
1 parent 3548566 commit 4ddb1ff

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

user_guide_src/source/incoming/controllers.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,18 @@ class so that it can inherit all its methods.
230230
Methods
231231
=======
232232

233+
234+
Default Method
235+
--------------
236+
233237
In the above example, the method name is ``getIndex()``.
234-
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.
235239

236-
**The second segment of the URI determines which method in the
237-
controller gets called.**
240+
Normal Methods
241+
--------------
242+
243+
The second segment of the URI determines which method in the
244+
controller gets called.
238245

239246
Let's try it. Add a new method to your controller:
240247

0 commit comments

Comments
 (0)