Ojs\AdminBundle\Controller\AdminIndexController::showAction PHP Method

showAction() public method

Finds and displays a Index entity.
public showAction ( Ojs\JournalBundle\Entity\Index $entity ) : Response
$entity Ojs\JournalBundle\Entity\Index
return Symfony\Component\HttpFoundation\Response
    public function showAction(Index $entity)
    {
        $this->throw404IfNotFound($entity);
        $token = $this->get('security.csrf.token_manager')->refreshToken('ojs_admin_index' . $entity->getId());
        return $this->render('OjsAdminBundle:AdminIndex:show.html.twig', ['entity' => $entity, 'token' => $token]);
    }