This commit is contained in:
Marcel Pociot
2020-04-30 15:17:25 +02:00
parent 0dfda0825c
commit a972c8581c
24 changed files with 444 additions and 29 deletions

View File

@@ -29,7 +29,7 @@ class ListUsersController extends AdminController
{
$this->database->query('SELECT * FROM users ORDER by created_at DESC')->then(function (Result $result) use ($httpConnection) {
$httpConnection->send(
respond_html($this->getView('server.users.index', ['users' => $result->rows]))
respond_html($this->getView($httpConnection, 'server.users.index', ['users' => $result->rows]))
);
$httpConnection->close();