Exemplo n.º 1
0
 /**
  * Catch exception after login redirect
  *
  * @return Response
  */
 public function myresearchbulkAction()
 {
     try {
         return parent::myresearchbulkAction();
     } catch (\Exception $e) {
         $this->flashMessenger()->setNamespace('error')->addMessage($e->getMessage());
         $target = $this->url()->fromRoute('myresearch-home');
         return $this->redirect()->toUrl($target);
     }
 }