Skip to content

Commit bcfd754

Browse files
committed
docs: update the explanation
1 parent 78fb53b commit bcfd754

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

user_guide_src/source/tutorial/create_news_items.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ Most helper functions require the helper to be loaded before use.
9090
Next, we check if we deal with the **POST** request with the
9191
:doc:`IncomingRequest <../incoming/incomingrequest>` object ``$this->request``.
9292
It is set in the controller by the framework.
93-
If the HTTP method is not POST, that is it is GET,
93+
The :ref:`IncomingRequest::is() <incomingrequest-is>` method checks the type of the request.
94+
If the request is not a POST request, that is it is a GET request,
9495
the form is loaded and returned to display.
9596

9697
Then, we get the necessary items from the POST data by the user and set them in the ``$post`` variable.

0 commit comments

Comments
 (0)