From 491462e033ae78a5b5c4f93ed8d5663e4da0a9e3 Mon Sep 17 00:00:00 2001 From: horus_arch Date: Fri, 20 Mar 2015 23:16:27 +0100 Subject: Fix bug which prevented creating a new entry. --- main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'main.go') diff --git a/main.go b/main.go index 23e15b4..d73587b 100644 --- a/main.go +++ b/main.go @@ -33,6 +33,7 @@ func main() { r := mux.NewRouter() r.HandleFunc("/", IndexHandler) + r.HandleFunc("/register", RegisterHandler) r.HandleFunc("/create", CreateNewEntryHandler).Methods("POST") r.PathPrefix("/static/").Handler(http.StripPrefix("/static/", http.FileServer(http.Dir("./static")))) -- cgit v1.2.3