Commit 3fff463b authored by Moreau Elise's avatar Moreau Elise
Browse files

add route to update location in user's profile

parent ba98a206
......@@ -9,6 +9,7 @@ use App\Application\Actions\User\LogInUserAction;
use App\Application\Actions\User\DeleteUserAction;
use App\Application\Actions\User\ModifyUserAction;
use App\Application\Actions\User\ViewModifyForm;
use App\Application\Actions\User\LocationUserAction;
use App\Application\Actions\Group\CreateGroupAction;
use App\Application\Actions\Group\ListGroupsAction;
......@@ -112,6 +113,7 @@ return function (App $app) {
$group->post('/delete', DeleteUserAction::class);
$group->get('/modify', ViewModifyForm::class);
$group->post('/modify', ModifyUserAction::class);
$group->post('/location', LocationUserAction::class);
}
)->add(AuthMiddleware::class);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment