[CONTROLLER] Remove example enqueue
This commit is contained in:
parent
59fcd042e9
commit
df4d246ede
|
@ -31,19 +31,16 @@
|
|||
namespace App\Controller;
|
||||
|
||||
use App\Core\Controller;
|
||||
use App\Core\Queue\Queue;
|
||||
|
||||
class NetworkPublic extends Controller
|
||||
{
|
||||
public function onPost()
|
||||
{
|
||||
return ['_template' => 'network/public.html.twig'];
|
||||
return ['notices' => ['some notice', 'some other notice', 'some other more diferent notice']];
|
||||
}
|
||||
|
||||
public function handle()
|
||||
{
|
||||
Queue::enqueue('Yo, test', 'network_public');
|
||||
|
||||
return [
|
||||
'_template' => 'network/public.html.twig',
|
||||
'notices' => ['some notice', 'some other notice', 'some other more diferent notice'],
|
||||
|
|
Loading…
Reference in New Issue
Block a user