Skip to content

Commit

Permalink
Updated Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
geggleto committed Sep 29, 2015
1 parent 5851f3a commit 5d48f96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ $container = $app->getContainer();
$container['renderer'] = new SlimRenderer("./templates");
$app->get('/hello/{name}', function ($request, $response, $args) {
//You will now have $name available in your template
return $this->renderer->render($response, "/hello.php", $args);
});
Expand Down

0 comments on commit 5d48f96

Please sign in to comment.