diff --git a/security/voters.rst b/security/voters.rst index 48b6fcf75a2..c794e39d6d1 100644 --- a/security/voters.rst +++ b/security/voters.rst @@ -185,7 +185,7 @@ To recap, here's what's expected from the two abstract methods: object). Your job is to determine if your voter should vote on the attribute/subject combination. If you return true, ``voteOnAttribute()`` will be called. Otherwise, your voter is done: some other voter should process this. In this example, you - return ``true`` if the attribue is ``view`` or ``edit`` and if the object is + return ``true`` if the attribute is ``view`` or ``edit`` and if the object is a ``Post`` instance. ``voteOnAttribute($attribute, $subject, TokenInterface $token)`` diff --git a/templating/embedding_controllers.rst b/templating/embedding_controllers.rst index 228ae4053ee..f8c640fe989 100644 --- a/templating/embedding_controllers.rst +++ b/templating/embedding_controllers.rst @@ -98,4 +98,4 @@ string syntax for controllers (i.e. **bundle**:**controller**:**action**): ) ?> -The result of an embedded controler can also be :doc:`cached ` +The result of an embedded controller can also be :doc:`cached `