Permalink
Browse files

minor #4778 Update templating.rst (ifdattic)

This PR was merged into the 2.6 branch.

Discussion
----------

Update templating.rst

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.6
| Fixed tickets |

Commits
-------

851be38 Update templating.rst
  • Loading branch information...
wouterj committed Jan 16, 2015
2 parents ca54d55 + 851be38 commit a42e5b629eb095471e3929150d2a6a354504308d
Showing with 2 additions and 2 deletions.
  1. +2 −2 book/templating.rst
@@ -1189,8 +1189,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::

0 comments on commit a42e5b6

Please sign in to comment.