mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 00:55:32 +00:00
Added static pages
This commit is contained in:
9
controllers/static.go
Normal file
9
controllers/static.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package controllers
|
||||
|
||||
import "github.com/gofiber/fiber/v2"
|
||||
|
||||
func Get(path string) fiber.Handler {
|
||||
return func(c *fiber.Ctx) error {
|
||||
return c.Render(path, nil)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user