ticketService = $ticketService; session(['lastPage' => CURRENT_URL]); session(['lastMilestoneView' => 'milestonetable']); session(['lastFilterdMilestoneView' => CURRENT_URL]); } /** * @throws \Exception */ public function get($params): Response { $params = $this->ticketService->normalizeRoadmapParams($params); // Sets the filter module to show a quick toggle for task types $this->tpl->assign('enableTaskTypeToggle', true); $this->tpl->assign('showTasks', $params['showTasks'] ?? 'false'); $template_assignments = $this->ticketService->getTicketTemplateAssignments($params); array_map([$this->tpl, 'assign'], array_keys($template_assignments), array_values($template_assignments)); return $this->tpl->display('tickets.showAllMilestones'); } }