protected function autoRedirect() { if (isset($this->indexPage)) { return $this->redirection->to($this->indexPage); } return $this->redirection->refresh(); }