/**
* Finds and displays a board and it's details.
* This page is also an arrangement page for a board.
* In this page journal manager can :
* - list members
* - add members to a board
* - change orders of the members
*
* @param Board $board
* @return Response
*/
public function showAction(Board $board)
{
$journal = $this->get('ojs.journal_service')->getSelectedJournal();
if (!$this->isGranted('VIEW', $journal, 'boards')) {
throw new AccessDeniedException("You not authorized for view this journal's boards!");
}
$members = $board->getBoardMembers();
$token = $this->get('security.csrf.token_manager')->refreshToken('ojs_journal_board' . $board->getId());
return $this->render('OjsJournalBundle:Board:show.html.twig', array('members' => $members, 'entity' => $board, 'token' => $token));
}