Skip to content
Snippets Groups Projects
Commit 1f9fcb68 authored by elise's avatar elise
Browse files

use twig render for list users

parent 173f571c
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,6 @@ class ListUsersAction extends UserAction ...@@ -16,6 +16,6 @@ class ListUsersAction extends UserAction
$this->logger->info("Users list was viewed."); $this->logger->info("Users list was viewed.");
return $this->respondWithData($users); return $this->twig->render($this->response, "/user/list_users.twig", ["users" => $users]);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment