From 851be3878dd56cc0292598a3adee8cc389aa79be Mon Sep 17 00:00:00 2001 From: "Andrew (Andrius) Marcinkevicius" Date: Mon, 5 Jan 2015 19:59:41 +0200 Subject: [PATCH] Update templating.rst | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.6 | Fixed tickets | --- book/templating.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/templating.rst b/book/templating.rst index 35d477c0ed3..7aec931c838 100644 --- a/book/templating.rst +++ b/book/templating.rst @@ -1180,8 +1180,8 @@ automatically: .. versionadded:: 2.6 The global ``app.security`` variable (or the ``$app->getSecurity()`` - method in PHP templates) is deprecated as of Symfony 2.6. Use `app.user` - (`$app->getUser()`) and `is_granted()` (`$view['security']->isGranted()`) + method in PHP templates) is deprecated as of Symfony 2.6. Use ``app.user`` + (``$app->getUser()``) and ``is_granted()`` (``$view['security']->isGranted()``) instead. .. tip::