Skip to content
Snippets Groups Projects
Unverified Commit d4dcd189 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Remove leftover of old templating system

parent ba86c51d
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@
e.g. "core:no_state.tpl.php". The format is "<module>:<template name>"
#}
{% if includeTemplate -%}
{% set parts = includeTemplate|replace({'.tpl.php':'.twig'})|split(':') %}
{% set parts = includeTemplate|split(':') %}
{% set namespacedTemplate = "@" ~ parts[0] ~ "/" ~ parts[1] %}
{% include(namespacedTemplate) %}
{%- endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment