/**
  * Finds and displays a Job entity.
  *
  * @Route("/{company}/{location}/{id}/{position}", name="job_show")
  * @Method("GET")
  */
 public function showAction(Job $job)
 {
     if ($job->isExpired()) {
         throw new NotFoundHttpException("active job is not found");
     }
     $deleteForm = $this->createDeleteForm($job);
     return $this->render('job/show.html.twig', array('job' => $job, 'delete_form' => $deleteForm->createView()));
 }