Menu + Template Seiten & Routes für Übersichten

This commit is contained in:
Simon Martens
2024-12-03 22:40:32 +01:00
parent 591b637652
commit 9f0440d827
11 changed files with 74 additions and 12 deletions

12
controllers/category.go Normal file
View File

@@ -0,0 +1,12 @@
package controllers
import (
"github.com/Theodor-Springmann-Stiftung/kgpz_web/app"
"github.com/gofiber/fiber/v2"
)
func GetCategory(kgpz *app.KGPZ) fiber.Handler {
return func(c *fiber.Ctx) error {
return c.Render("/kategorie/", nil)
}
}