Rapsys Git
/
airbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cd9b7a
)
Rename findIndexByGroupPseudonym function in findChoicesAsArray
author
Raphaël Gertz
<git@rapsys.eu>
Wed, 21 Feb 2024 11:16:58 +0000
(12:16 +0100)
committer
Raphaël Gertz
<git@rapsys.eu>
Wed, 21 Feb 2024 11:16:58 +0000
(12:16 +0100)
Controller/ApplicationController.php
patch
|
blob
|
history
diff --git
a/Controller/ApplicationController.php
b/Controller/ApplicationController.php
index 5a787dc4a95af423da5db58084517030d9c386c2..39e06eb9edb441ed3e7b5dfc33e83c5b41e330f2 100644
(file)
--- a/
Controller/ApplicationController.php
+++ b/
Controller/ApplicationController.php
@@
-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)->find
IndexByGroupPseudonym
(),
+ 'user_choices' => $this->doctrine->getRepository(User::class)->find
ChoicesAsArray
(),
//Set default user to current
'user_default' => $this->getUser()->getId(),
//Set default slot to evening