Skip to content

Commit f951faf

Browse files
Apply suggestions from code review
Co-authored-by: Pooya Parsa <pooya_parsa_dadashi@yahoo.com>
1 parent bdbaed4 commit f951faf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

user_guide_src/source/guides/api/controller.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ In your BookModel, we add a new method called ``withAuthorInfo()``. This method
7777

7878

7979
Test the list endpoint
80-
--------------------------
80+
-----------------------
8181

8282
Start the local server:
8383

user_guide_src/source/guides/api/first-endpoint.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Auto Routing & Your First Endpoint
1010
In this section, we enable CodeIgniter's *Improved Auto Routing* feature and create a simple JSON endpoint to confirm everything is wired correctly.
1111

1212
Why Auto-Routing?
13-
==================
13+
=============
1414

1515
The previous tutorial showed how to define routes manually in **app/Config/Routes.php**. While powerful and flexible, this can be tedious for RESTful APIs with many endpoints that follow a common pattern. Auto-Routing simplifies this by mapping URL patterns to controller classes and methods based on conventions, and its focus on HTTP verbs works well for RESTful APIs.
1616

0 commit comments

Comments
 (0)