request->isAjax()) { return $this->template->render($template, $params); } $params['board_selector'] = $this->projectUserRole->getActiveProjectsByUser($this->userSession->getId()); return $this->template->layout($template, $params); } }