svg
This commit is contained in:
parent
855570b685
commit
94dd533be5
@ -99,10 +99,12 @@ class UserController extends AbstractController
|
|||||||
#[Route('/admin/user/delete', name: 'app_admin_user_delete')]
|
#[Route('/admin/user/delete', name: 'app_admin_user_delete')]
|
||||||
public function delete(): Response
|
public function delete(): Response
|
||||||
{
|
{
|
||||||
|
return $this->redirectToRoute('app_admin_user');
|
||||||
}
|
}
|
||||||
|
|
||||||
#[Route('/user', name: 'app_user_profil')]
|
#[Route('/user', name: 'app_user_profil')]
|
||||||
public function profil(): Response
|
public function profil(): Response
|
||||||
{
|
{
|
||||||
|
return $this->redirectToRoute('app_home');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user