Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-07-11 12:12:29 +08:00
parent e1ffdab190
commit 82ea9c77c4
19 changed files with 530 additions and 122 deletions
@@ -5,8 +5,10 @@ const ctrl = require('../../controllers/admin/notification_templates.controlle
// Auth + requireAdmin applied by admin.routes.js
router.get('/', ctrl.getNotificationTemplates);
router.get('/:id', ctrl.getNotificationTemplate);
router.put('/:id', ctrl.updateNotificationTemplate);
router.get ('/', ctrl.getNotificationTemplates);
router.post ('/', ctrl.createNotificationTemplate);
router.get ('/:id', ctrl.getNotificationTemplate);
router.put ('/:id', ctrl.updateNotificationTemplate);
router.delete('/:id', ctrl.deleteNotificationTemplate);
module.exports = router;