Skip to content

Commit

Permalink
Merge pull request #108 from iamrameffort/code-comment-correction
Browse files Browse the repository at this point in the history
Minor code comment correction
  • Loading branch information
l0gicgate committed Sep 29, 2019
2 parents 827c915 + 7b4a117 commit 019fb19
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Expand Up @@ -57,10 +57,12 @@ $app->get('/foo', function ($request, $response, $args) {
$name = $request->getAttribute($nameKey);
$value = $request->getAttribute($valueKey);

// Render HTML form which POSTs to /bar with two hidden input fields for the
// name and value:
// <input type="hidden" name="<?= $nameKey ?>" value="<?= $name ?>">
// <input type="hidden" name="<?= $valueKey ?>" value="<?= $value ?>">
/*
Render HTML form which POSTs to /bar with two hidden input fields for the
name and value:
<input type="hidden" name="<?= $nameKey ?>" value="<?= $name ?>">
<input type="hidden" name="<?= $valueKey ?>" value="<?= $value ?>">
*/
});

$app->post('/bar', function ($request, $response, $args) {
Expand Down

0 comments on commit 019fb19

Please sign in to comment.