diff --git a/src/AdminUi/templates/base.html.twig b/src/AdminUi/templates/base.html.twig index 60af54ca..33093e9b 100644 --- a/src/AdminUi/templates/base.html.twig +++ b/src/AdminUi/templates/base.html.twig @@ -1,5 +1,4 @@ {% set generic_hook = 'sylius_admin.base' %} -{% set prefixes = prefixes|default([])|merge([generic_hook]) %} @@ -8,11 +7,11 @@ - {% block title %}{% apply striptags %}{% hook '#base_title' with { _prefixes: prefixes } %}{% endapply %}{% endblock %} + {% block title %}{% apply striptags %}{% hook generic_hook ~ '#base_title' %}{% endapply %}{% endblock %} {% block metatags %}{% endblock %} {% block stylesheets %} - {% hook '#stylesheets' with { _prefixes: prefixes } %} + {% hook generic_hook ~ '#stylesheets' %} {% endblock %} @@ -21,7 +20,7 @@ {% block javascripts %} - {% hook '#javascripts' with { _prefixes: prefixes } %} + {% hook generic_hook ~ '#javascripts' %} {% endblock %}