feat(groups): user_groups lookup, admin assignment UI, public directory with DataTables
This commit is contained in:
16
application/controller/DirectoryController.php
Normal file
16
application/controller/DirectoryController.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
class DirectoryController extends Controller
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$this->View->render('directory/index', [
|
||||
'users' => UserModel::getUsersWithGroups()
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user