aboutsummaryrefslogtreecommitdiff
path: root/controllers/preferences.go
blob: 3a504ed8ce8343693fe1af5c83f5c235026133f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package controllers

import (
	"imageboard/utils/shortcuts"

	"github.com/gofiber/fiber/v2"
)

func PreferencesController(ctx *fiber.Ctx) error {
	ctx.Locals("Title", "Site Preferences")
	ctx.Locals("request", fiber.Map{"path": ctx.Path()})
	return shortcuts.Render(ctx, "preferences", nil)
}