public function handleDislikeArticle($id) { if ($this->user->isAllowed('Article', 'like')) { if ($this->articleManager->userDislikeArticle($id, $this->user->id)) { // todo: if ajax, redraw component $this->redirect('this'); } else { $this->redirect('this'); } } }