]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Controller/UserController.php
Use getObject event args member function instead of deprecated getEntity
[airbundle] / Controller / UserController.php
index 510ae33e66065abe36ddbdad8bd9dfea282a7a43..bd28a54d72fd1a030ec730855bb92b15070dfdd8 100644 (file)
@@ -640,6 +640,6 @@ class UserController extends BaseUserController {
                }
 
                //Redirect to user
-               return $this->redirectToRoute('rapsys_user_edit', ['mail' => $short = $this->slugger->short($user->getMail()), 'hash' => $this->slugger->hash($short)]);
+               return $this->redirectToRoute('rapsysuser_edit', ['mail' => $short = $this->slugger->short($user->getMail()), 'hash' => $this->slugger->hash($short)]);
        }
 }