From 822063a520df4c889a4a9c9dd25ec0d0ca44d973 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 7 Mar 2024 18:10:26 +0100 Subject: [PATCH] Rename user bundle route alias --- Repository/UserRepository.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Repository/UserRepository.php b/Repository/UserRepository.php index db4d84e..9f45b95 100644 --- a/Repository/UserRepository.php +++ b/Repository/UserRepository.php @@ -123,7 +123,7 @@ SQL; 'pseudonym' => $data['pseudonym'], 'groups' => [], 'slug' => $this->slugger->slug($data['pseudonym']), - 'link' => $this->router->generate('rapsys_user_edit', ['mail' => $short = $this->slugger->short($data['mail']), 'hash' => $this->slugger->hash($short)]) + 'link' => $this->router->generate('rapsysuser_edit', ['mail' => $short = $this->slugger->short($data['mail']), 'hash' => $this->slugger->hash($short)]) ]; //With groups @@ -137,7 +137,7 @@ SQL; $ret[$data['id']]['groups'][$id] = [ 'title' => $group = $this->translator->trans($titles[$k]), #'slug' => $this->slugger->slug($group) - #'link' => $this->router->generate('rapsys_user_group_view', ['id' => $id, 'slug' => $this->slugger->short($group)]) + #'link' => $this->router->generate('rapsysuser_group_view', ['id' => $id, 'slug' => $this->slugger->short($group)]) ]; } } -- 2.41.1