Should beforeExecuteRoute prevent view from rendering

From the sparse documentation I have understood that beforeExecuteRoute prevents action being executed, that works. However I would expect that the associated view won't be rendered too, though the foollowing code will result into rendering it, why? What is the point of it?


use Phalcon\Mvc\Dispatcher,

class TestController extends \Phalcon\Mvc\Controller {

    public function beforeExecuteRoute(Dispatcher $dispatcher)
        // refuse non-Ajax requests
        if (!$this->request->isAjax()) {
            return false;
        return true;

    public function fooAction()
        bdump('foo action');

It's automatic view render from Phalcom\Mvc\Application. You just need to disable it.

    $application = new Application($di);