quick fix for dynamic pages

This commit is contained in:
Ted Unangst 2019-09-16 21:55:51 -04:00
parent 43a2394534
commit 767b34b71c
1 changed files with 1 additions and 0 deletions

1
web.go
View File

@ -537,6 +537,7 @@ func showcombo(w http.ResponseWriter, r *http.Request) {
honks := gethonksbycombo(u.UserID, name) honks := gethonksbycombo(u.UserID, name)
honks = osmosis(honks, u.UserID) honks = osmosis(honks, u.UserID)
templinfo := getInfo(r) templinfo := getInfo(r)
templinfo["PageName"] = "combo"
templinfo["ServerMessage"] = "honks by combo: " + name templinfo["ServerMessage"] = "honks by combo: " + name
templinfo["HonkCSRF"] = login.GetCSRF("honkhonk", r) templinfo["HonkCSRF"] = login.GetCSRF("honkhonk", r)
honkpage(w, u, honks, templinfo) honkpage(w, u, honks, templinfo)