Volt not including file if path is concatenated
问题 I'm trying to iterate through a Model collection in volt: {% if model.elements|length > 0 %} {% for element in model.getElements() %} {% include "partials/panels/edit-" ~ element.getType() ~ ".volt" %} {% endfor %} {% endif %} The type can be text or images. If i use the above code, i get the error: View '/path/to/phalcon/apps/frontend/views/partials/panels/edit-image.volt' was not found in the views directory I'm sure that the file exists, since if i changethe include, it'll work: {% include