We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a00e78 commit a574579Copy full SHA for a574579
_examples/mvc/error-handler-preflight/main.go
@@ -35,7 +35,7 @@ func (r *response) Preflight(ctx iris.Context) error {
35
}
36
37
if code := r.Code; code > 0 {
38
- // You can call ctx.View or mvc.Vew{...}.Dispatch
+ // You can call ctx.View or mvc.View{...}.Dispatch
39
// to render HTML on Code != 200
40
// but in order to not proceed with the response resulting
41
// as JSON you MUST return the iris.ErrStopExecution error.
0 commit comments