public function onLeftMenuRender(\Club\MenuBundle\Event\FilterMenuEvent $event)
 {
     $menu = $event->getMenu();
     if ($this->security_context->isGranted('ROLE_ADMIN')) {
         $menu['account'] = array('name' => $this->translator->trans('Account'), 'route' => $this->router->generate('club_account_adminaccount_index'), 'items' => array());
     }
     $event->setMenu($menu);
 }
 public function onLeftMenuRender(\Club\MenuBundle\Event\FilterMenuEvent $event)
 {
     $menu = $event->getMenu();
     if ($this->security_context->isGranted('ROLE_MESSAGE_ADMIN')) {
         $menu[33] = array('header' => $this->translator->trans('Message'), 'image' => 'bundles/clublayout/images/icons/16x16/email.png', 'items' => array(array('name' => $this->translator->trans('Message'), 'route' => $this->router->generate('club_message_adminmessage_index'))));
     }
     $event->setMenu($menu);
 }