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

showAction() public method

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