src/Controller/ContentController.php
public function indexAction()
    {
        $view = $this->params('view');
        $view = 'content/' . $view;

        $viewModel = new ViewModel();
        $viewModel->setTemplate($view);

        /* @var $request Request */
        $request = $this->getRequest();

        if ($request->isXmlHttpRequest()) {
            $viewModel->setTerminal(true);
        }
        return $viewModel;
    }
public function indexAction()
    {
        $view = $this->params('view');
        $view = 'content/' . $view;

        $viewModel = new ViewModel();
        $viewModel->setTemplate($view);

        /* @var $request Request */
        $request = $this->getRequest();

        if ($request->isXmlHttpRequest()) {
            $viewModel->setTerminal(true);
        }
        return $viewModel;
    }
Displays a content page

@return ViewModel