public function adminAction() { $url = $this->generateUrl('sonata_admin_dashboard'); return $this->redirect($url); }