ictgj-voting/admin_votes.go

17 lines
272 B
Go
Raw Normal View History

package main
import (
"net/http"
"github.com/gorilla/mux"
)
func handleAdminVotes(w http.ResponseWriter, req *http.Request, page *pageData) {
vars := mux.Vars(req)
page.SubTitle = "Votes"
switch vars["function"] {
default:
page.show("admin-votes.html", w)
}
}