public function getCommentsAction()
{
$em = $this->getDoctrine()->getManager();
$comments = $em->getRepository('AppBundle:Comment')->findAll();
$view = $this->view($comments)->setTemplate('RestBundle:Comment:getComments.html.twig')->setTemplateVar('comments');
return $this->handleView($view);
}