renamed cake editor

This commit is contained in:
Bronku 2025-01-31 20:12:26 +01:00
parent 331f3080f9
commit 353dffdd82
4 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,7 @@ func (c *controller) LoadRouter(pub fs.FS) {
serveMux.HandleFunc("POST /order/new", c.postNewOrder)
serveMux.HandleFunc("GET /available_cakes", c.cakeOptions)
serveMux.HandleFunc("GET /edit_cakes", c.cakeOptions)
serveMux.HandleFunc("GET /cake_editor", c.editCakes)
serveMux.HandleFunc("GET /cake_editor", c.cakeEditor)
serveMux.HandleFunc("POST /new_cake", c.newCake)
c.Handler = serveMux