package routes import ( "dk/internal/components" sushi "git.sharkk.net/Sharkk/Sushi" "git.sharkk.net/Sharkk/Sushi/auth" ) func RegisterForumRoutes(app *sushi.App) { authed := app.Group("/forum") authed.Use(auth.RequireAuth()) authed.Get("/", index) } func index(ctx sushi.Ctx) { components.RenderPage(ctx, "Forum", "forum/index.html", map[string]any{}) }