Skip to content
Snippets Groups Projects
Commit 29d92bd7 authored by itanael's avatar itanael
Browse files

add routes for log in and map

parent 8d43fcba
Branches
Tags
No related merge requests found
...@@ -43,6 +43,17 @@ return function (App $app) { ...@@ -43,6 +43,17 @@ return function (App $app) {
} }
); );
$app->get('/login', function (Request $request, Response $response) {
return $this->get(Twig::class)->render($response, "/user/log_in.twig", []);
}
);
$app->get('/map', function (Request $request, Response $response) {
return $this->get(Twig::class)->render($response, "/map/map.twig", []);
}
);
$app->group( $app->group(
'/users', function (Group $group) { '/users', function (Group $group) {
$group->get('', ListUsersAction::class); $group->get('', ListUsersAction::class);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment