Exemplo n.º 1
0
 public function renderDetail()
 {
     $this->template->userDat = $this->userDat;
     $this->template->articles = $this->articleManager->getArticleByUser($this->userDat->id);
     if (!$this->template->userDat) {
         throw new \Nette\Application\BadRequestException();
     }
 }