From 7d6f72822ba5cff98843da67d054a0aca4239790 Mon Sep 17 00:00:00 2001 From: Vinayak Agrawal Date: Wed, 18 Jun 2025 18:11:29 +0530 Subject: [PATCH] Update index.js --- app/routes/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/routes/index.js b/app/routes/index.js index a9e55426bf..315d19fb38 100644 --- a/app/routes/index.js +++ b/app/routes/index.js @@ -46,6 +46,9 @@ const index = (app, db) => { // Profile page app.get("/profile", isLoggedIn, profileHandler.displayProfile); app.post("/profile", isLoggedIn, profileHandler.handleProfileUpdate); + // Benefits Page + app.get("/benefits", isLoggedIn, benefitsHandler.displayBenefits); + app.post("/benefits", isLoggedIn, benefitsHandler.updateBenefits); // Contributions Page app.get("/contributions", isLoggedIn, contributionsHandler.displayContributions);