Commit e61f7451 authored by Kbida Vincent's avatar Kbida Vincent

modif index tp2

parent f3e093f8
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment