Skip to content

Commit

Permalink
Revert "pass all not written routes to NotFound handler"
Browse files Browse the repository at this point in the history
This reverts commit d68dc96.
  • Loading branch information
codegangsta committed Apr 25, 2014
1 parent c7203d5 commit c11ffb2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions router.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,7 @@ func (r *router) Handle(res http.ResponseWriter, req *http.Request, context Cont
params := Params(vals)
context.Map(params)
route.Handle(context, res)
if context.Written() {
return
} else {
break
}
return
}
}

Expand Down

0 comments on commit c11ffb2

Please sign in to comment.