From 3b344f6e9d6a46ba92c3bcdcfa3b25b0dfa10cdb Mon Sep 17 00:00:00 2001 From: Marek Szymeczko Date: Tue, 9 Jan 2018 14:36:36 +0100 Subject: [PATCH] [error_pages] Removing misleading checker in code example --- controller/error_pages.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/controller/error_pages.rst b/controller/error_pages.rst index c8bcc65b6b2..65872b61e00 100644 --- a/controller/error_pages.rst +++ b/controller/error_pages.rst @@ -97,11 +97,6 @@ To override the 404 error template for HTML pages, create a new {% block body %}

Page not found

- - {% if is_granted('IS_AUTHENTICATED_FULLY') %} - {# ... #} - {% endif %} -

The requested page couldn't be located. Checkout for any URL misspelling or return to the homepage.