]> Raphaël G. Git Repositories - airbundle/commitdiff
Rename findIndexByGroupPseudonym function in findChoicesAsArray
authorRaphaël Gertz <git@rapsys.eu>
Wed, 21 Feb 2024 11:16:58 +0000 (12:16 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 21 Feb 2024 11:16:58 +0000 (12:16 +0100)
Controller/ApplicationController.php

index 5a787dc4a95af423da5db58084517030d9c386c2..39e06eb9edb441ed3e7b5dfc33e83c5b41e330f2 100644 (file)
@@ -104,7 +104,7 @@ class ApplicationController extends AbstractController {
                        //With user
                        'user' => $this->isGranted('ROLE_ADMIN'),
                        //Set user choices
-                       'user_choices' => $this->doctrine->getRepository(User::class)->findIndexByGroupPseudonym(),
+                       'user_choices' => $this->doctrine->getRepository(User::class)->findChoicesAsArray(),
                        //Set default user to current
                        'user_default' => $this->getUser()->getId(),
                        //Set default slot to evening