aboutsummaryrefslogtreecommitdiff
path: root/controllers/register.go
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-07-07 15:40:09 +0530
committerBobby <[email protected]>2025-07-07 15:40:09 +0530
commitb6a04140f2668a0dcae4befcd272e05b75bd14e5 (patch)
treebec232ae247690bf030bf05a452192f264df8c92 /controllers/register.go
parent98afdc4673f616bc61f9ef673580ca3933bdef8a (diff)
downloadimageboard-b6a04140f2668a0dcae4befcd272e05b75bd14e5.tar.xz
imageboard-b6a04140f2668a0dcae4befcd272e05b75bd14e5.zip
fix templates to use proper layout and semantic forms instead of tables
Diffstat (limited to 'controllers/register.go')
-rw-r--r--controllers/register.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/controllers/register.go b/controllers/register.go
index 3be4e64..9343732 100644
--- a/controllers/register.go
+++ b/controllers/register.go
@@ -8,5 +8,6 @@ import (
func RegisterController(ctx *fiber.Ctx) error {
ctx.Locals("Title", "Register")
+ ctx.Locals("request", fiber.Map{"path": ctx.Path()})
return shortcuts.Render(ctx, "register", nil)
}