Skip to content

Template not found when not using the at sign "@namespace" #2401

Open
@marcusgaius

Description

@marcusgaius

Is it possible to make the namespace not require the at sign @ when templates are referenced in code?
I am getting this situation (Twig 3.12 in CraftCMS 4.12):
image

I understand it's not necessarily the concern of Symfony specific extension how other frameworks deal with their features, but it seems like this is such a small step to achieve it. If I were to modify the module handle to @shop as I did for this example, it can work fine, but I don't understand why can't it be just omitted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions