summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-08-31 21:52:40 +0200
committerKevin Chabowski <kevin@kch42.de>2013-08-31 21:52:40 +0200
commitf68f1f326a196882383e534ff5166bf91b4e079d (patch)
treed49c42dca58f6868222c5d3d8b20bf69b5c2e7e9 /main.go
parent945af900ee539fc270e82e906c6d961c51e4913d (diff)
downloadmailremind-f68f1f326a196882383e534ff5166bf91b4e079d.tar.gz
mailremind-f68f1f326a196882383e534ff5166bf91b4e079d.tar.bz2
mailremind-f68f1f326a196882383e534ff5166bf91b4e079d.zip
Jobs can now be viewed in the job editor.
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index d8cec10..1cdccc2 100644
--- a/main.go
+++ b/main.go
@@ -90,6 +90,8 @@ func main() {
router.HandleFunc("/pwreset", mkHttpHandler(pwreset, tplPwreset))
router.HandleFunc("/forgotpw", mkHttpHandler(forgotpw, tplForgotpw))
router.HandleFunc("/jobs", mkHttpHandler(jobs, tplJobs))
+ router.HandleFunc("/jobedit", mkHttpHandler(jobedit, tplJobedit))
+ router.HandleFunc("/jobedit/{ID}", mkHttpHandler(jobedit, tplJobedit))
http.Handle("/", router)