Skip to content

Commit 851be38

Browse files
committed
Update templating.rst
| Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.6 | Fixed tickets |
1 parent e5a6c7c commit 851be38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/templating.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,8 +1180,8 @@ automatically:
11801180

11811181
.. versionadded:: 2.6
11821182
The global ``app.security`` variable (or the ``$app->getSecurity()``
1183-
method in PHP templates) is deprecated as of Symfony 2.6. Use `app.user`
1184-
(`$app->getUser()`) and `is_granted()` (`$view['security']->isGranted()`)
1183+
method in PHP templates) is deprecated as of Symfony 2.6. Use ``app.user``
1184+
(``$app->getUser()``) and ``is_granted()`` (``$view['security']->isGranted()``)
11851185
instead.
11861186

11871187
.. tip::

0 commit comments

Comments
 (0)