Exemplo n.º 1
0
 public function renderDrafts()
 {
     if (!$this->user->isAllowed('Article', 'add')) {
         throw new ForbiddenRequestException();
     }
     $this->template->draftsList = $this->articleManager->findDrafts($this->user->id);
 }