[COMPONENT][Subscription] Move respective routes to component

This commit is contained in:
2022-01-04 21:52:24 +00:00
parent 5a0bbfc795
commit 754135743e
5 changed files with 25 additions and 110 deletions

View File

@@ -49,12 +49,12 @@ class Subscribers extends CircleController
return $this->handleActorByNickname(
$nickname,
fn ($actor) => [
'_template' => 'collection/actors.html.twig',
'title' => _m('Subscribers'),
'empty_message' => _m('No subscribers'),
'sort_options' => [],
'page' => $this->int('page') ?? 1,
'actors' => $actor->getSubscribers(),
'_template' => 'collection/actors.html.twig',
'title' => _m('Subscribers'),
'empty_message' => _m('No subscribers.'),
'sort_form_fields' => [],
'page' => $this->int('page') ?? 1,
'actors' => $actor->getSubscribers(),
],
);
}