diff --git a/src/Controller/SnipController.php b/src/Controller/SnipController.php index 9fd1d4c..8be508d 100644 --- a/src/Controller/SnipController.php +++ b/src/Controller/SnipController.php @@ -49,11 +49,9 @@ class SnipController extends AbstractController $snipParser = new Pipeline(); $this->denyAccessUnlessGranted(SnipVoter::VIEW, $snip); $snipService = $this->snipServiceFactory->create($snip); - $content = $snipParser->parse(($snipService->get())); - dump($content); return $this->render('snip/single.html.twig', [ 'snip' => $snip, - 'content' => $content, + 'content' => $snipParser->parse(($snipService->get())), 'branch' => $snipService->getRepo()->getCurrentBranchName(), ]); }