@@ -231,7 +231,7 @@ public function overzicht(Request $request, $soort = null)
231
231
);
232
232
// controleert rechten bekijken per groep
233
233
$ body = new GroepenView (
234
- $ this ->container ->get ('twig ' ),
234
+ $ this ->container ->get ('csr.hack. twig ' ),
235
235
$ this ->repository ,
236
236
$ groepen ,
237
237
$ soortEnum ,
@@ -259,7 +259,7 @@ public function bekijken($id)
259
259
}
260
260
// controleert rechten bekijken per groep
261
261
$ body = new GroepenView (
262
- $ this ->container ->get ('twig ' ),
262
+ $ this ->container ->get ('csr.hack. twig ' ),
263
263
$ this ->repository ,
264
264
$ groepen ,
265
265
$ soort ,
@@ -310,7 +310,7 @@ public function pasfotos($id)
310
310
if (!$ this ->isGranted (AbstractGroepVoter::BEKIJKEN , $ groep )) {
311
311
throw $ this ->createAccessDeniedException ();
312
312
}
313
- return new GroepPasfotosView ($ this ->container ->get ('twig ' ), $ groep );
313
+ return new GroepPasfotosView ($ this ->container ->get ('csr.hack. twig ' ), $ groep );
314
314
}
315
315
316
316
public function lijst ($ id )
@@ -319,7 +319,7 @@ public function lijst($id)
319
319
if (!$ this ->isGranted (AbstractGroepVoter::BEKIJKEN , $ groep )) {
320
320
throw $ this ->createAccessDeniedException ();
321
321
}
322
- return new GroepLijstView ($ this ->container ->get ('twig ' ), $ groep );
322
+ return new GroepLijstView ($ this ->container ->get ('csr.hack. twig ' ), $ groep );
323
323
}
324
324
325
325
public function stats ($ id )
@@ -332,7 +332,7 @@ public function stats($id)
332
332
$ statistieken = $ this ->repository ->getStatistieken ($ groep );
333
333
334
334
return new GroepStatistiekView (
335
- $ this ->container ->get ('twig ' ),
335
+ $ this ->container ->get ('csr.hack. twig ' ),
336
336
$ groep ,
337
337
$ statistieken
338
338
);
@@ -344,7 +344,7 @@ public function emails($id)
344
344
if (!$ this ->isGranted (AbstractGroepVoter::BEKIJKEN , $ groep )) {
345
345
throw $ this ->createAccessDeniedException ();
346
346
}
347
- return new GroepEmailsView ($ this ->container ->get ('twig ' ), $ groep );
347
+ return new GroepEmailsView ($ this ->container ->get ('csr.hack. twig ' ), $ groep );
348
348
}
349
349
350
350
public function eetwens ($ id )
@@ -353,7 +353,7 @@ public function eetwens($id)
353
353
if (!$ this ->isGranted (AbstractGroepVoter::BEKIJKEN , $ groep )) {
354
354
throw $ this ->createAccessDeniedException ();
355
355
}
356
- return new GroepEetwensView ($ this ->container ->get ('twig ' ), $ groep );
356
+ return new GroepEetwensView ($ this ->container ->get ('csr.hack. twig ' ), $ groep );
357
357
}
358
358
359
359
public function zoeken (Request $ request , $ zoekterm = null )
@@ -503,7 +503,7 @@ public function aanmaken(Request $request, $id = null, $soort = null)
503
503
FlashType::SUCCESS ,
504
504
$ groep ::class . ' succesvol aangemaakt! '
505
505
);
506
- $ form = new GroepPreviewForm ($ this ->container ->get ('twig ' ), $ groep );
506
+ $ form = new GroepPreviewForm ($ this ->container ->get ('csr.hack. twig ' ), $ groep );
507
507
$ view ->modal = $ form ->__toString ();
508
508
return $ view ;
509
509
} else {
@@ -743,7 +743,7 @@ public function voorbeeld($id)
743
743
if (!$ this ->isGranted (AbstractGroepVoter::BEKIJKEN , $ groep )) {
744
744
throw $ this ->createAccessDeniedException ();
745
745
}
746
- return new GroepPreviewForm ($ this ->container ->get ('twig ' ), $ groep );
746
+ return new GroepPreviewForm ($ this ->container ->get ('csr.hack. twig ' ), $ groep );
747
747
}
748
748
749
749
/**
@@ -851,7 +851,7 @@ public function ketzer_aanmelden(EntityManagerInterface $em, $id)
851
851
$ em ->persist ($ lid );
852
852
$ em ->flush ();
853
853
$ groep ->getLeden ()->add ($ lid );
854
- return new GroepPasfotosView ($ this ->container ->get ('twig ' ), $ groep );
854
+ return new GroepPasfotosView ($ this ->container ->get ('csr.hack. twig ' ), $ groep );
855
855
} else {
856
856
return $ form ;
857
857
}
@@ -980,7 +980,7 @@ public function ketzer_afmelden(EntityManagerInterface $em, $id, $uid = null)
980
980
$ em ->remove ($ lid );
981
981
$ em ->flush ();
982
982
983
- return new GroepView ($ this ->container ->get ('twig ' ), $ groep );
983
+ return new GroepView ($ this ->container ->get ('csr.hack. twig ' ), $ groep );
984
984
}
985
985
986
986
public function afmelden (EntityManagerInterface $ em , $ id , $ uid )
0 commit comments