[Directory] Finished implementing groups stream using Directory plugin

This commit is contained in:
Angelo D. Moura
2020-12-01 03:05:10 +00:00
committed by Hugo Sales
parent 098fdb3361
commit fe170ff508
9 changed files with 54 additions and 94 deletions

View File

@@ -138,22 +138,4 @@ END;
'order by f.created DESC', ['id' => $actor_id]),
];
}
public function actors(Request $request)
{
return [
'_template' => 'network/actors.html.twig',
'actors' => DB::dql('select a from App\Entity\GSActor a ' .
'order by a.nickname ASC'),
];
}
public function groups(Request $request)
{
return [
'_template' => 'network/groups.html.twig',
'groups' => DB::dql('select g from App\Entity\Group g ' .
'order by g.nickname ASC'),
];
}
}