public function overitRubriku($id) { if (!($this->rubrika = $this->redakce->findRubrikuById($id))) { $this->redirect('default'); } }