Remove dumps

This commit is contained in:
Tim 2023-04-06 22:52:56 +02:00
parent bf63b7a274
commit 9898bce41a

View File

@ -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(),
]);
}