Add extra meta data to snip view and show all snips in public
This commit is contained in:
@ -36,7 +36,7 @@ class SnipController extends AbstractController
|
||||
public function public(): Response
|
||||
{
|
||||
return $this->render('snip/index.html.twig', [
|
||||
'snips' => $this->repository->findPublic($this->getUser()),
|
||||
'snips' => $this->repository->findPublic(),
|
||||
'title' => 'Public Snips',
|
||||
]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user