public function renderAction($path, Request $request)
    {
        if (!$page = $this->get('synapse.page.loader')->retrieveByPath($path, true)) {
            throw new NotFoundHttpException(sprintf('No online page found at path "%s".',
                $path
            ));
        }

        return $this->renderPage($page, $request);
    }