admin: new interface to manage claims

This commit is contained in:
nemunaire 2018-01-17 01:21:32 +01:00
parent 3932bba83d
commit 1eef71923a
10 changed files with 791 additions and 0 deletions

View file

@ -13,6 +13,9 @@ func init() {
api.Router().GET("/", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
http.ServeFile(w, r, path.Join(StaticDir, "index.html"))
})
api.Router().GET("/claims/*_", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
http.ServeFile(w, r, path.Join(StaticDir, "index.html"))
})
api.Router().GET("/exercices/*_", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
http.ServeFile(w, r, path.Join(StaticDir, "index.html"))
})