[Directory] Added the route, controller and a blank template file - something is broken

This commit is contained in:
Angelo D. Moura
2020-11-29 05:47:25 +00:00
committed by Hugo Sales
parent 4f85efa071
commit eb1ef4dd0f
3 changed files with 41 additions and 0 deletions

View File

@@ -147,4 +147,13 @@ END;
'order by a.nickname ASC'),
];
}
public function groups(Request $request)
{
return [
'_template' => 'network/groups.html.twig',
'groups' => DB::dql('select group from App\Entity\Groups group ' .
'order by group.created DESC'),
];
}
}