From e61f7451a4e5ba0db4156ee8241013a1a918386d Mon Sep 17 00:00:00 2001 From: Kbida Vincent <kbida1u@etu.univ-lorraine.fr> Date: Wed, 11 Mar 2020 09:32:18 +0100 Subject: [PATCH] modif index tp2 --- tp2/index.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tp2/index.php b/tp2/index.php index 184b4a6..842a6f3 100644 --- a/tp2/index.php +++ b/tp2/index.php @@ -42,20 +42,20 @@ $app->get('/', function () { $v = new AccueilView(); $v->render(); })->name('accueil'); -$app->get('/mario', function () { +$app->get('/tp2req1', function () { $v = new ControleurRequete(); - $v->selectMario(); -})->name('mario'); + $v->selectChar(); +})->name('tp2req1'); -$app->get('/japan', function () { +$app->get('/tp2req2', function () { $v = new ControleurRequete(); - $v->selectJapanCompany(); -})->name('japan'); + $v->selectCharMario(); +})->name('tp2req2'); -$app->get('/platformBase', function () { +$app->get('/tp2req3', function () { $v = new ControleurRequete(); - $v->selectPlatformBase(); -})->name('platformBase'); + $v->gameCompanySony(); +})->name('tp2req3'); $app->get('/gameNumber', function () { $v = new ControleurRequete(); -- GitLab