predominant / TwigView

Twig for CakePHP
http://cakealot.com
MIT License
78 stars 31 forks source link

Lazy loading of Helpers #13

Closed markomarkovic closed 5 years ago

markomarkovic commented 11 years ago

When using the default View class, helpers are automatically loaded when used. With TwigView, they're not loaded unless explicitly declared in the controller. e.g. public $helpers = array('Html', 'Form');.

Is there a way to do this automatically, like in the original View class?

predominant commented 11 years ago

There is a way to fix this. Tinkering at the moment.

predominant commented 5 years ago

Kinda left that one without fixing it. Sorry @markomarkovic!