public function detailAction($id)
{
$em = $this->getDoctrine()->getManager();
$entity = $em->getRepository('OjsJournalBundle:Publisher')->findOneBy(['status' => 0, 'id' => $id]);
if (!$entity) {
throw new NotFoundHttpException();
}
return $this->render('OjsAdminBundle:AdminApplication:publisher_detail.html.twig', ['entity' => $entity]);
}