Skip to content

Commit

Permalink
Merge pull request #2851 from rrramble/patch-1
Browse files Browse the repository at this point in the history
Fix example of 'Hello World' app
  • Loading branch information
l0gicgate committed Oct 1, 2019
2 parents 470d295 + ec9acc5 commit a787bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -74,7 +74,7 @@ $app = AppFactory::create();
$app->addErrorMiddleware(true, true, true);

// Add routes
$app->get('/', function () {
$app->get('/', function (Request $request, Response $response) {
$response->getBody()->write('<a href="/hello/world">Try /hello/world</a>');
return $response;
});
Expand Down

0 comments on commit a787bf2

Please sign in to comment.