This should give users an easier upgrade path and more flexibility when loading/extending templates directly. Everything View allows when loading templates is allowed for internal Twig template names.
The only caveat with this new loader is template names that were including the .twig extension must be changed. I didn't think it was worth supporting that buggy requirement given we just released this and most users won't have that.
Closes https://github.com/cakephp/twig-view/issues/50
This should give users an easier upgrade path and more flexibility when loading/extending templates directly. Everything View allows when loading templates is allowed for internal Twig template names.
The only caveat with this new loader is template names that were including the
.twig
extension must be changed. I didn't think it was worth supporting that buggy requirement given we just released this and most users won't have that.