]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Controller/AbstractController.php
Add dance and slot members to session edit form
[airbundle] / Controller / AbstractController.php
index f06178d77b834dd93b435cf3614e021976b00f6b..fe07f11877e677e9c554491a6c08b912167fd0ec 100644 (file)
@@ -376,7 +376,7 @@ abstract class AbstractController extends BaseAbstractController implements Serv
                                        //With user
                                        'user' => $this->checker->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 to session slot or evening by default
@@ -487,6 +487,7 @@ abstract class AbstractController extends BaseAbstractController implements Serv
                        //Append facebook image texts
                        $parameters['facebook']['texts'] += [
                                $parameters['title'] => [
+                                       'font' => 'irishgrover',
                                        'align' => 'left'
                                ]/*XXX: same problem as url, too long :'(,
                                $parameters['description'] => [