diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-09 23:04:27 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-09 23:04:27 +0100 |
commit | fa96e61d75127d087b776c69df4dadd90197e4e3 (patch) | |
tree | bffa0b851431bcd31e88b4dfe5c83933408be386 /main.go | |
parent | e51bff05d225ce68143b0aefa282116fe5eb587f (diff) | |
download | guichet-fa96e61d75127d087b776c69df4dadd90197e4e3.tar.gz guichet-fa96e61d75127d087b776c69df4dadd90197e4e3.zip |
Add form to create objects
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -115,6 +115,7 @@ func main() { r.HandleFunc("/admin/users", handleAdminUsers) r.HandleFunc("/admin/groups", handleAdminGroups) r.HandleFunc("/admin/ldap/{dn}", handleAdminLDAP) + r.HandleFunc("/admin/create/{template}/{super_dn}", handleAdminCreate) staticfiles := http.FileServer(http.Dir("static")) r.Handle("/static/{file:.*}", http.StripPrefix("/static/", staticfiles)) |