From de9ed434acbfcc56dd279d6f61ee03e45cfdf5ca Mon Sep 17 00:00:00 2001 From: Harm van Tilborg Date: Wed, 27 Jul 2016 08:58:12 +0200 Subject: [PATCH] custom error pages - Reference to security functions warning is no more in 2.8 In the example code of the custom error page, there was a comment reference to the `Avoiding Exceptions when Using Security Functions in Error Templates' section, that lived in the pre-2.8 documentation. That subsection is no longer there. --- controller/error_pages.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/controller/error_pages.rst b/controller/error_pages.rst index aa3489753f0..601f87d4550 100644 --- a/controller/error_pages.rst +++ b/controller/error_pages.rst @@ -99,7 +99,6 @@ To override the 404 error template for HTML pages, create a new {% block body %}

Page not found

- {# example security usage, see below #} {% if is_granted('IS_AUTHENTICATED_FULLY') %} {# ... #} {% endif %}