aboutsummaryrefslogtreecommitdiff
path: root/router/routes.go
diff options
context:
space:
mode:
Diffstat (limited to 'router/routes.go')
-rw-r--r--router/routes.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/router/routes.go b/router/routes.go
index 814b767..216719f 100644
--- a/router/routes.go
+++ b/router/routes.go
@@ -7,7 +7,10 @@ import (
)
func Initialize(router *fiber.App) {
- router.Get("/", controllers.HomeController)
+ router.Get("/", controllers.PostsController)
+ router.Get("/register", controllers.RegisterController)
+ router.Get("/login", controllers.LoginController)
+ router.Get("/preferences", controllers.PreferencesController)
router.Use(func(c *fiber.Ctx) error {
return c.Status(fiber.StatusNotFound).JSON(fiber.Map{