From 26bdfee81756219cfb02b3f8b91e23fc57fcbfc4 Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Mon, 20 May 2019 19:04:01 +0200 Subject: [PATCH] [WebProfilerBundle] Makes it possible to work with the profiler on another vhost there's already a few places where the link is an absolute url but the toolbar item are host relative, I think this is the only place where it's missing --- .../Resources/views/Profiler/toolbar_item.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_item.html.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_item.html.twig index 69872418cfb2..d81e87797766 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_item.html.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_item.html.twig @@ -1,5 +1,5 @@
- {% if link is not defined or link %}{% endif %} + {% if link is not defined or link %}{% endif %}
{{ icon|default('') }}
{% if link|default(false) %}
{% endif %}
{{ text|default('') }}