static function route($routes) { $action = $routes[0]; switch ($action) { case '': case 'home': Controller::home(); break; default: Controller::_404(); break; } }