Skip to content

Commit

Permalink
fix comment on csrf example
Browse files Browse the repository at this point in the history
  • Loading branch information
kataras committed Jan 28, 2018
1 parent 758fcc7 commit a39e3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _examples/experimental-handlers/csrf/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func main() {
}

func getSignupForm(ctx iris.Context) {
// views/signup.html just needs a {{ .csrfField }} template tag for
// views/user/signup.html just needs a {{ .csrfField }} template tag for
// csrf.TemplateField to inject the CSRF token into. Easy!
ctx.ViewData(csrf.TemplateTag, csrf.TemplateField(ctx))
ctx.View("user/signup.html")
Expand Down

0 comments on commit a39e3d7

Please sign in to comment.