X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/e57fd4e1f21e9a7b44e7d9db078e261ddc0450cf..832be89c5836f1f58e4e8ef89587ddcf1bd68c9c:/Repository/UserRepository.php?ds=sidebyside 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)]) ]; } }