From: Raphaƫl Gertz Date: Thu, 7 Mar 2024 17:10:26 +0000 (+0100) Subject: Rename user bundle route alias X-Git-Tag: 0.4.0~12 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/822063a520df4c889a4a9c9dd25ec0d0ca44d973 Rename user bundle route alias --- 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)]) ]; } }