|
@@ -30,7 +30,8 @@ class VideothequeController extends Controller
|
|
|
{
|
|
|
$em = $this->getDoctrine()->getManager();
|
|
|
$repo = $em->getRepository('AppBundle:Film');
|
|
|
- $listeFilms = $repo->findAll();
|
|
|
+ //$listeFilms = $repo->findAll();
|
|
|
+ $listeFilms = $repo->findTous();
|
|
|
|
|
|
return $this->render('@App/videotheque/liste.html.twig', array(
|
|
|
'listeFilms' => $listeFilms
|