public function previewAction($id, Request $request)
    {
        if (!$page = $this->get('synapse.page.loader')->retrieve($id)) {
            throw new NotFoundHttpException(sprintf('"Page#%s" not found.',
                $id
            ));
        }

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