public function editAction($id)
{
/** @var Publisher $entity */
$em = $this->getDoctrine()->getManager();
$entity = $em->getRepository('OjsJournalBundle:Publisher')->find($id);
if (!$entity) {
throw new NotFoundHttpException();
}
$action = $this->generateUrl('ojs_admin_application_publisher_update', ['id' => $entity->getId()]);
$form = $this->createForm(new PublisherApplicationType(), $entity, ['action' => $action])->add('update', 'submit');
return $this->render('OjsAdminBundle:AdminApplication:publisher_edit.html.twig', ['form' => $form->createView(), 'entity' => $entity]);
}