public function handleMakeRouteActive($routeId) { if ($route = $this->routeDao->findRouteById($routeId)) { $this->routeDao->setCurrentRouteForTarget($route->target, $route); } if ($this->presenter->isAjax()) { $this->redrawControl("route-list"); $this->redrawControl("route-list-" . $route->target->id); } else { $this->redirect("this"); } }