]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Controller/ApplicationController.php
Add default ttf font
[airbundle] / 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