gnu-social/src/Controller/NetworkPublic.php

18 lines
372 B
PHP
Raw Normal View History

2020-03-12 17:59:13 +00:00
<?php
namespace App\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use App\Util\GSEvent;
2020-03-12 17:59:13 +00:00
class NetworkPublic extends AbstractController
{
public function __invoke()
{
GSEvent::handle('test', ['foobar']);
2020-03-12 17:59:13 +00:00
return $this->render('network/public.html.twig', []);
}
}