diff --git a/app/kernel/Router.php b/app/kernel/Router.php index e51448c63a74ad59cd57ae2f0d8939653fe2449a..5c06efa7f5b2aaa932902bdbd08c98966546b367 100644 --- a/app/kernel/Router.php +++ b/app/kernel/Router.php @@ -128,28 +128,36 @@ class Router else if ($parts[0] == "add_partie" && count($parts) == 1) { $result["controller"] = "Partie"; $result["action"] = "displayStep0"; - } else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "valid") { + } + else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "valid") { $result["controller"] = "Partie"; $result["action"] = "displayValid"; - } else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "step1") { + } + else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "step1") { $result["controller"] = "Partie"; $result["action"] = "displayStep1"; - } else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "step2") { + } + else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "step2") { $result["controller"] = "Partie"; $result["action"] = "displayStep2"; - } else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "stepe1") { + } + else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "stepe1") { $result["controller"] = "Partie"; $result["action"] = "displayStepe1"; - } else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "stepe2") { + } + else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "stepe2") { $result["controller"] = "Partie"; $result["action"] = "displayStepe2"; - } else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "verifystep0") { + } + else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "verifystep0") { $result["controller"] = "Partie"; $result["action"] = "verifyStep0"; - } else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "verifystep1") { + } + else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "verifystep1") { $result["controller"] = "Partie"; $result["action"] = "verifyStep1"; - } else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "verifystep2") { + } + else if ($parts[0] == "add_partie" && count($parts) == 2 && $parts[1] == "verifystep2") { $result["controller"] = "Partie"; $result["action"] = "verifyStep2"; }