Skip to content
Snippets Groups Projects
Commit 503714fa authored by FRANTZEN Rejane's avatar FRANTZEN Rejane
Browse files

maj q8

parent 464c74b0
Branches
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ $app->get('/api/platform/:id', function ($idPlatform) use ($app) {
$app->post('/api/games/:id/comments', function ($idGame) use ($app) {
$c = new controleur\CtrlComment();
$c->posterCommentaire($idGame, $_POST);
$app->response->headers->set('Content-Type', 'application/json');
// $app->response->headers->set('Content-Type', 'application/json');
})->name('posterCommentaire');
$app->run();
\ No newline at end of file
......@@ -16,7 +16,7 @@ class VueComment {
public function creerCommentaire() {
echo <<< end
<form method=POST>
<div class="form-bigtitle">Ajout de commentaire !</div>
<div class="form-bigtitle"><br>Ajout de commentaire !</div>
<div class="form-email">
<textarea name=email placeholder="Email"></textarea>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment