Skip to content

Commit

Permalink
Merge pull request klein#273 from ivansky/patch-1
Browse files Browse the repository at this point in the history
Fix Readme `Sending objects / files`
  • Loading branch information
Rican7 committed Dec 16, 2014
2 parents 2ec9a80 + 933e57b commit eb80e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ $klein->respond(function ($request, $response, $service) {
$klein->respond('/report.[xml|csv|json:format]?', function ($request, $response, $service) {
// Get the format or fallback to JSON as the default
$send = $request->param('format', 'json');
$service->$send($report);
$response->$send($report);
});

$klein->respond('/report/latest', function ($request, $response, $service) {
Expand Down

0 comments on commit eb80e09

Please sign in to comment.