Commit 2a0e627a authored by Fabien Potencier's avatar Fabien Potencier

fixed typos in the docs

parent c1cba3f2
...@@ -3,10 +3,10 @@ Disabling CSRF Protection on a Form using the FormExtension ...@@ -3,10 +3,10 @@ Disabling CSRF Protection on a Form using the FormExtension
The *FormExtension* provides a service for building form in your application The *FormExtension* provides a service for building form in your application
with the Symfony Form component. When the `CSRF Service Provider with the Symfony Form component. When the `CSRF Service Provider
</providers/csrf.rst>` is registered, the *FormExtension* uses the CSRF </providers/csrf>` is registered, the *FormExtension* uses the CSRF Protection
Protection avoiding Cross-site request forgery, a method by which a malicious avoiding Cross-site request forgery, a method by which a malicious user
user attempts to make your legitimate users unknowingly submit data that they attempts to make your legitimate users unknowingly submit data that they don't
don't intend to submit. intend to submit.
You can find more details about CSRF Protection and CSRF token in the You can find more details about CSRF Protection and CSRF token in the
`Symfony Book `Symfony Book
......
...@@ -187,7 +187,7 @@ You can register form type guessers by extending ``form.type.guessers``:: ...@@ -187,7 +187,7 @@ You can register form type guessers by extending ``form.type.guessers``::
.. warning:: .. warning::
CSRF protection is only available and automatically enabled when the `CSRF CSRF protection is only available and automatically enabled when the `CSRF
Service Provider </providers/csrf.rst>` is registered. Service Provider </providers/csrf>` is registered.
Traits Traits
------ ------
......
...@@ -138,7 +138,7 @@ Rendering a Controller ...@@ -138,7 +138,7 @@ Rendering a Controller
~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
A ``render`` function is also registered to help you render another controller A ``render`` function is also registered to help you render another controller
from a template (available when the `HttpFragment Service Provider </providers/http_fragment.rst>` from a template (available when the `HttpFragment Service Provider </providers/http_fragment>`
is registered): is registered):
.. code-block:: jinja .. code-block:: jinja
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment