Skip to content

Commit

Permalink
[docs] Fix syntax typo (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanocoding authored and elithrar committed Oct 2, 2016
1 parent 0ff6a2c commit bbe6687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func main() {
func ShowSignupForm(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 bbe6687

Please sign in to comment.