Skip to content

Commit

Permalink
Fixes typo in README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsubrian committed Oct 10, 2012
1 parent b882af2 commit dcf99f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -78,13 +78,13 @@ you may alter this within the callback using `res.type()`
or `res.set('Content-Type', ...)`.

res.format({
'text/plain'(){
'text/plain': function () {
res.send('hey');
},
'text/html'(){
'text/html': function () {
res.send('<p>hey</p>');
},
'appliation/json'(){
'appliation/json': function () {
res.send({ message: 'hey' });
}
});
Expand Down

0 comments on commit dcf99f0

Please sign in to comment.