jorisdejong85/Ultrablog — Issue #2: Override Controller->render
Author: rudiedirkx
Created: 2012-01-06 12:43:32+00:00
State: open

Currently:

return $this->render('EzAppBundle:User:index.html.twig', get_defined_vars());

We can make it simpler:

return $this->display('user/index', get_defined_vars());

So the `render` method definition:

function display( $view, array $params = array(), Response $response = null )

which will call `->render(...)`.