public function saveAction($id)
{
/** @var Publisher $entity */
$em = $this->getDoctrine()->getManager();
$entity = $em->getRepository('OjsJournalBundle:Publisher')->find($id);
if (!$entity) {
throw new NotFoundHttpException();
}
$entity->setStatus(PublisherStatuses::STATUS_COMPLETE);
$em->persist($entity);
$em->flush();
return $this->redirectToRoute('ojs_admin_application_publisher_edit', ['id' => $entity->getId()]);
}