public function deleteAction(Application $application)
{
$em = $this->getDoctrine()->getManager();
$em->remove($application);
$em->flush();
$this->get('session')->getFlashBag()->add('notice', 'Application <i class="fa fa-cube"></i> <strong>' . htmlspecialchars($application->getName()) . '</strong> has been deleted.');
return $this->redirect($this->generateUrl('baikal_admin_application_list'));
}