/**
  * Unstop door
  *
  * @Template("JLMDailyBundle:Door:show.html.twig")
  * @Secure(roles="ROLE_USER")
  */
 public function unstopAction(Door $entity)
 {
     $em = $this->getDoctrine()->getManager();
     $stop = $entity->getLastStop();
     if ($stop === null) {
         return $this->showAction($entity);
     }
     $stop->setEnd(new \DateTime());
     $em->persist($stop);
     $em->flush();
     return $this->showAction($entity);
 }