Beispiel #1
0
 /**
  * @param Request $request
  * @param Application $app
  * @return mixed
  */
 public function verJson(Request $request, Application $app)
 {
     $imagenModelo = new ImagenModelo($app['db']);
     $imagenes = $imagenModelo->getImagenes();
     return $app['twig']->render('backend/imagen/listJson.html.twig', array('imagenes' => $imagenes));
 }