From 5115a7f6346eeb955beba29ae356fac935e87da7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sat, 28 Aug 2021 10:23:23 +0200 Subject: [PATCH 1/1] New page title schema --- Resources/views/security/denied.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/views/security/denied.html.twig b/Resources/views/security/denied.html.twig index ccbc098..053a832 100644 --- a/Resources/views/security/denied.html.twig +++ b/Resources/views/security/denied.html.twig @@ -1,7 +1,7 @@ {% extends '@RapsysAir/body.html.twig' %} {% block content %}
-

{{ page.title }}

+

{{ title }}

{% if message is defined %}{{ message }}{% else %}{% trans %}Access denied{% endtrans %}{% endif %}

{% if is_granted('ROLE_ADMIN') %}{% if trace is defined %}
{{ trace }}
{% endif %}{% endif %}
-- 2.41.1