Skip to content

Commit

Permalink
[docs] Improve commented code (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
1046102779 authored and elithrar committed Sep 26, 2016
1 parent a8abe8a commit 0ff6a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csrf.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ type options struct {
// func GetSignupForm(w http.ResponseWriter, r *http.Request) {
// // signup_form.tmpl just needs a {{ .csrfField }} template tag for
// // csrf.TemplateField to inject the CSRF token into. Easy!
// t.ExecuteTemplate(w, "signup_form.tmpl", map[string]interface{
// t.ExecuteTemplate(w, "signup_form.tmpl", map[string]interface{}{
// csrf.TemplateTag: csrf.TemplateField(r),
// })
// // We could also retrieve the token directly from csrf.Token(r) and
Expand Down

0 comments on commit 0ff6a2c

Please sign in to comment.