Skip to content

Commit 7f182e1

Browse files
kenjispaulbalandan
andauthored
docs: fix by proofreading
Co-authored-by: John Paul E. Balandan, CPA <[email protected]>
1 parent 09c2157 commit 7f182e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

user_guide_src/source/tutorial/create_news_items.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Open the **app/Config/Filters.php** file and update the ``$methods`` property li
2020
It configures the CSRF filter to be enabled for all **POST** requests.
2121
You can read more about the CSRF protection in :doc:`Security </libraries/security>` library.
2222

23-
.. Warning:: In general, if you use ``$methods`` filters, you should :ref:`disable auto-routing <use-defined-routes-only>`.
24-
Because auto-routing permits any HTTP method to access a controller.
23+
.. Warning:: In general, if you use ``$methods`` filters, you should :ref:`disable auto-routing <use-defined-routes-only>`
24+
because auto-routing permits any HTTP method to access a controller.
2525
Accessing the controller with a method you don't expect could bypass the filter.
2626

2727
Create a form

0 commit comments

Comments
 (0)