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(); $snipParser = new Pipeline();
$this->denyAccessUnlessGranted(SnipVoter::VIEW, $snip); $this->denyAccessUnlessGranted(SnipVoter::VIEW, $snip);
$snipService = $this->snipServiceFactory->create($snip); $snipService = $this->snipServiceFactory->create($snip);
$content = $snipParser->parse(($snipService->get()));
dump($content);
return $this->render('snip/single.html.twig', [ return $this->render('snip/single.html.twig', [
'snip' => $snip, 'snip' => $snip,
'content' => $content, 'content' => $snipParser->parse(($snipService->get())),
'branch' => $snipService->getRepo()->getCurrentBranchName(), 'branch' => $snipService->getRepo()->getCurrentBranchName(),
]); ]);
} }