Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added json method.

Code from [mauricemach#123
  • Loading branch information...
commit 963dbb2358b286fff5df164810de1868b145d9a0 1 parent 702cbca
@shimaore shimaore authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/zappa.coffee
View
1  src/zappa.coffee
@@ -259,6 +259,7 @@ zappa.app = (func) ->
response: res
next: next
send: -> res.send.apply res, arguments
+ json: -> res.json.apply res, arguments
redirect: -> res.redirect.apply res, arguments
render: ->
if typeof arguments[0] isnt 'object'
Please sign in to comment.
Something went wrong with that request. Please try again.