diff options
Diffstat (limited to 'controllers/posts.go')
| -rw-r--r-- | controllers/posts.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/controllers/posts.go b/controllers/posts.go index 6fdcd26..c3da9c1 100644 --- a/controllers/posts.go +++ b/controllers/posts.go @@ -8,6 +8,7 @@ import ( func PostsController(ctx *fiber.Ctx) error {
ctx.Locals("Title", "Posts")
+ ctx.Locals("request", fiber.Map{"path": ctx.Path()})
searchQuery := ctx.Query("tags", "")
|
