Skip to content

Commit a574579

Browse files
authored
Fix typo in comment (kataras#2107)
Signed-off-by: Jiachen <[email protected]>
1 parent 3a00e78 commit a574579

File tree

1 file changed

+1
-1
lines changed
  • _examples/mvc/error-handler-preflight

1 file changed

+1
-1
lines changed

_examples/mvc/error-handler-preflight/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func (r *response) Preflight(ctx iris.Context) error {
3535
}
3636

3737
if code := r.Code; code > 0 {
38-
// You can call ctx.View or mvc.Vew{...}.Dispatch
38+
// You can call ctx.View or mvc.View{...}.Dispatch
3939
// to render HTML on Code != 200
4040
// but in order to not proceed with the response resulting
4141
// as JSON you MUST return the iris.ErrStopExecution error.

0 commit comments

Comments
 (0)