From c7d41a46cc4fe1dc51f476ca367454cc5e0c7216 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 22 Nov 2017 20:54:05 +0100 Subject: [PATCH] Fixed some typos --- security/voters.rst | 2 +- templating/embedding_controllers.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 `