public function toggleEnabledDefaultView(PoolModel $pool) { if (!$pool->toggleEnabled()) { $_SESSION['tempdata']['errors'][] = 'Unable to toggle that pool.'; } return new RedirectView('/admin/pool.php'); }