gnu-social/src/Controller/NetworkPublic.php

17 lines
325 B
PHP
Raw Normal View History

2020-03-12 17:59:13 +00:00
<?php
namespace App\Controller;
use App\Util\GSEvent;
2020-03-12 17:59:13 +00:00
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
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', []);
}
}