[PLUGIN][Directory] Rename actor to people, as it's what's actually interacted with

This commit is contained in:
2022-01-01 20:02:32 +00:00
parent 1f01923aa1
commit fc76a00908
3 changed files with 6 additions and 6 deletions

View File

@@ -31,14 +31,14 @@ use Symfony\Component\HttpFoundation\Request;
class Directory extends FeedController
{
/**
* actors stream
* people stream
*
* @return array template
*/
public function actors(Request $request): array
public function people(Request $request): array
{
return [
'_template' => 'directory/actors.html.twig',
'_template' => 'directory/people.html.twig',
'actors' => DB::findBy(Actor::class, ['type' => Actor::PERSON], order_by: ['created' => 'DESC', 'nickname' => 'ASC']),
];
}