public function indexAction()
    {
        $em = $this->getDoctrine()->getManager();

        $roles = $em->getRepository('CoreBundle:Role')->findAll();

        return array(
            'roles' => $roles,
        );
    }