Skip to content

Commit a42e5b6

Browse files
committed
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
2 parents ca54d55 + 851be38 commit a42e5b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/templating.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1189,8 +1189,8 @@ automatically:
11891189

11901190
.. versionadded:: 2.6
11911191
The global ``app.security`` variable (or the ``$app->getSecurity()``
1192-
method in PHP templates) is deprecated as of Symfony 2.6. Use `app.user`
1193-
(`$app->getUser()`) and `is_granted()` (`$view['security']->isGranted()`)
1192+
method in PHP templates) is deprecated as of Symfony 2.6. Use ``app.user``
1193+
(``$app->getUser()``) and ``is_granted()`` (``$view['security']->isGranted()``)
11941194
instead.
11951195

11961196
.. tip::

0 commit comments

Comments
 (0)