|
|
|
@ -39,7 +39,7 @@ $router->map("GET", "/twig", fn() => $sampleFormController->displayFormTwig());
|
|
|
|
|
$router->map("POST", "/submit-twig", fn() => $sampleFormController->submitFormTwig($_POST));
|
|
|
|
|
$router->map("GET", "/tactic/new", fn() => $editorController->makeNew());
|
|
|
|
|
$router->map("GET", "/tactic/[i:id]/edit", fn(int $id) => $editorController->openEditorFor($id));
|
|
|
|
|
$router->map("GET", "/tactic/[i:id]/view", fn(int $id) => $visualizerController->openVisualizer($id));
|
|
|
|
|
$router->map("GET", "/tactic/[i:id]", fn(int $id) => $visualizerController->openVisualizer($id));
|
|
|
|
|
|
|
|
|
|
$match = $router->match();
|
|
|
|
|
|
|
|
|
|