Skip to content

Commit 64a996b

Browse files
Marek Szymeczkojaviereguiluz
authored andcommitted
[error_pages] Removing misleading checker in code example
1 parent 37d87a0 commit 64a996b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

controller/error_pages.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,6 @@ To override the 404 error template for HTML pages, create a new
9999
{% block body %}
100100
<h1>Page not found</h1>
101101

102-
{# example security usage, see below #}
103-
{% if app.user and is_granted('IS_AUTHENTICATED_FULLY') %}
104-
{# ... #}
105-
{% endif %}
106-
107102
<p>
108103
The requested page couldn't be located. Checkout for any URL
109104
misspelling or <a href="{{ path('homepage') }}">return to the homepage</a>.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy