Remove dumps
This commit is contained in:
parent
bf63b7a274
commit
9898bce41a
@ -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(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user