Skip to content

Commit 2850b22

Browse files
authored
docs: Fix filters-globals link in helpers/form_helper.rst
Fix filters-globals link in helpers/form_helper.rst
1 parent 8e0b25b commit 2850b22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

user_guide_src/source/helpers/form_helper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ The following functions are available:
116116
In most cases the form page is requested using the GET method. Normally, CSRF protection is required
117117
for POST/PUT/DELETE/PATCH requests, but even for GET requests, CSRF filters must be enabled for pages that display Forms.
118118

119-
If you enable CSRF filter with `$globals <https://codeigniter4.github.io/CodeIgniter4/incoming/filters.html#globals>`, it will be active for all request types.
119+
If you enable CSRF filter with :ref:`filters-globals`, it will be active for all request types.
120120
But if you enable CSRF filter with ``public array $methods = ['POST' => ['csrf']];``, the hidden CSRF field will not be added in GET requests.
121121

122122
**Adding Hidden Input Fields**

0 commit comments

Comments
 (0)