How is picking view exactly working?
I have project with modules (frontend, backend) and hiearchical templates ( {{ extends main.volt }} + blocks defined) - But I hope it has no influence on functionality.
class IndexController extends ControllerBase
{
    public function indexAction()
    {
     // template exists and rendered automatically somehow
    }
    public function testAction()
    {
        return $this->view->pick('index/index');
    }
}Views are located:
app
  -  frontend
     + views
         * index
            # index.volt
         * main.volt  (layout)Index is working fine as expected. But when I go to "/test" page it is not loaded -> browser is waiting for response until it crash. So probably some cycle there?
If I create template "test.volt" it is working fine, but I want to take advantage from shared templates.
Any hints? Thank you!
Btw. How can I somehow format texts here? At least force line breaks/paragraphs? ^-^