View folders

For example: I have AdminIndexController with indexAction() and it's view located in /views/adminindex/index.volt

Can I provide some information to ViewEngine to force it look at /views/AdminIndex/index.volt (camelcase) directory?

Thanks!



368

you can pick view

$this->view->pick("AdminIndex/index");

Yes, i know, but i don't want use it in each controller manually...

Unfortunately, Annotations router always lowercase controller name =((