[BUGFIX] Fixed definition of render that changed in symfony 2.2