Skip to content

Commit 03c536f

Browse files
committed
docs: fix incorrect explanation
1 parent 5fdcd7e commit 03c536f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/tutorial/create_news_items.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ validation <../libraries/validation>` library to do this.
8484
The code above adds a lot of functionality. First we load the NewsModel.
8585
After that, we check if we deal with the **POST** request and then
8686
the Controller-provided helper function is used to validate
87-
the $_POST fields. In this case, the title and text fields are required.
87+
the user input data. In this case, the POST data, and the title and text fields are required.
8888

8989
CodeIgniter has a powerful validation library as demonstrated
9090
above. You can read :doc:`more about this library

user_guide_src/source/tutorial/static_pages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ arguments.
256256
More information about routing can be found in the URI Routing
257257
:doc:`documentation </incoming/routing>`.
258258

259-
Here, the second rule in the ``$routes`` array matches **any** request
259+
Here, the second rule in the ``$routes`` object matches **any** request
260260
using the wildcard string ``(:any)``. and passes the parameter to the
261261
``view()`` method of the ``Pages`` class.
262262

0 commit comments

Comments
 (0)