mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
Fix typo in comment (#2107)
Signed-off-by: Jiachen <zhangjc1999@gmail.com>
This commit is contained in:
parent
3a00e785ea
commit
a574579d9c
|
@ -35,7 +35,7 @@ func (r *response) Preflight(ctx iris.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if code := r.Code; code > 0 {
|
if code := r.Code; code > 0 {
|
||||||
// You can call ctx.View or mvc.Vew{...}.Dispatch
|
// You can call ctx.View or mvc.View{...}.Dispatch
|
||||||
// to render HTML on Code != 200
|
// to render HTML on Code != 200
|
||||||
// but in order to not proceed with the response resulting
|
// but in order to not proceed with the response resulting
|
||||||
// as JSON you MUST return the iris.ErrStopExecution error.
|
// as JSON you MUST return the iris.ErrStopExecution error.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user