We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d18599f commit 89eb0aeCopy full SHA for 89eb0ae
1 file changed
app/templates/layout/dashboard.html.twig
@@ -4,7 +4,7 @@
4
{{ parent() }}
5
{% if page is defined and page.getVersion() is not null %}
6
{% set route = page.getRoute() %}
7
- {% set base_href = route ~ (route ends with '/' ? '' : '/') %}
+ {% set base_href = route == '' ? '/' : route %}
8
<base href="{{ base_href }}">
9
{% endif %}
10
{% endblock %}
0 commit comments