From 636c8f00b9b89ef268fea243897fe6eb9b3ca21b Mon Sep 17 00:00:00 2001 From: Jacek Foremski Date: Tue, 3 Jul 2018 11:36:42 +0200 Subject: [PATCH] Fix EZP-29144: Website Toolbar cache doesn't work properly when Owner( Self ) Policy Limitation is used --- Resources/views/pagelayout.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/views/pagelayout.html.twig b/Resources/views/pagelayout.html.twig index 91ff028..7d283c7 100644 --- a/Resources/views/pagelayout.html.twig +++ b/Resources/views/pagelayout.html.twig @@ -21,7 +21,7 @@ {% endif %} - {{ render( controller( "ezpublish_legacy.website_toolbar.controller:websiteToolbarAction", { 'locationId': currentLocation.id|default( null )} ) ) }} + {{ render_esi( controller( "ezpublish_legacy.website_toolbar.controller:websiteToolbarAction", { 'locationId': currentLocation.id|default( null )} ) ) }}
{% block header %}