Skip to content

Commit

Permalink
minor #4778 Update templating.rst (ifdattic)
Browse files Browse the repository at this point in the history
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 a42e5b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/templating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down

0 comments on commit a42e5b6

Please sign in to comment.