public function editAction(Board $board)
{
$journal = $this->get('ojs.journal_service')->getSelectedJournal();
if (!$this->isGranted('EDIT', $journal, 'boards')) {
throw new AccessDeniedException("You not authorized for edit this journal's boards!");
}
$editForm = $this->createEditForm($board);
return $this->render('OjsJournalBundle:Board:edit.html.twig', array('entity' => $board, 'edit_form' => $editForm->createView()));
}