From 7be1bcb7dd9f4697228205510f96e8df3b494814 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Fri, 22 Mar 2019 08:42:47 +0100 Subject: [PATCH] add missing brackets --- form/form_customization.rst | 2 +- quick_tour/flex_recipes.rst | 1 + security/access_control.rst | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/form/form_customization.rst b/form/form_customization.rst index ffccb48a532..dcfbef5dd2c 100644 --- a/form/form_customization.rst +++ b/form/form_customization.rst @@ -384,7 +384,7 @@ Variable Usage ``block_prefixes`` An array of all the names of the parent types. ``cache_key`` A unique key which is used for caching. ``compound`` Whether or not a field is actually a holder for a group of children fields - (for example, a ``choice`` field, which is actually a group of checkboxes. + (for example, a ``choice`` field, which is actually a group of checkboxes). ``data`` The normalized data of the type. ``disabled`` If ``true``, ``disabled="disabled"`` is added to the field. ``errors`` An array of any errors attached to *this* specific field (e.g. ``form.title.errors``). diff --git a/quick_tour/flex_recipes.rst b/quick_tour/flex_recipes.rst index 81937863b36..247cd57fe68 100644 --- a/quick_tour/flex_recipes.rst +++ b/quick_tour/flex_recipes.rst @@ -95,6 +95,7 @@ Thanks to Flex, after one command, you can start using Twig immediately: + 'name' => $name, + ]); } + } By extending ``AbstractController``, you now have access to a number of shortcut methods and tools, like ``render()``. Create the new template: diff --git a/security/access_control.rst b/security/access_control.rst index 012609cc4e1..3d854352dba 100644 --- a/security/access_control.rst +++ b/security/access_control.rst @@ -82,7 +82,7 @@ Take the following ``access_control`` entries as an example: 'role' => 'ROLE_USER_PORT', 'ip' => '127.0.0.1', 'port' => '8080', - ), + ], [ 'path' => '^/admin', 'role' => 'ROLE_USER_HOST',