public function editAction($publisherId, PublisherTheme $entity)
{
$em = $this->getDoctrine()->getManager();
$publisher = $em->getRepository('OjsJournalBundle:Publisher')->find($publisherId);
$this->throw404IfNotFound($publisher);
if (!$this->isGrantedForPublisher($publisher)) {
throw new AccessDeniedException("You are not authorized for this page!");
}
$editForm = $this->createEditForm($entity, $publisher);
return $this->render('OjsJournalBundle:ManagerPublisherTheme:edit.html.twig', array('entity' => $entity, 'publisher' => $publisher, 'edit_form' => $editForm->createView()));
}