Skip to content

Commit

Permalink
Merge pull request #23 from dinever/slash
Browse files Browse the repository at this point in the history
[fix] Parse Form when creating a new Context.
  • Loading branch information
dinever committed Apr 29, 2016
2 parents 8c0be55 + 627fc32 commit 8adab8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions context.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ type Context struct {
func NewContext(req *http.Request, res http.ResponseWriter, app *Application) *Context {
ctx := new(Context)
ctx.Request = req
ctx.Request.ParseForm()
ctx.Response = res
ctx.App = app
ctx.statusCode = 200
Expand Down

0 comments on commit 8adab8a

Please # to comment.