marello
marello copied to clipboard
Remove namespaced twig paths with colons
It's not possible to override templates if you use twig paths with colons. This is deprecated (Symfony Doc).
In the past, Symfony used a different syntax to refer to templates. This format, which uses colons (:) to
separate each template path section, is less consistent and has worse performance than the Twig syntax.
Please change "Template" annotations in all controllers. For instance have a look at product view action Link
Change
@Config\Template("MarelloProductBundle:Product:view.html.twig")
to
@Config\Template("@MarelloProduct/Product/view.html.twig")
Thanks