Files
starr-philproperties/routes/admin/notification_templates.routes.js
T
kennethobsequio 82ea9c77c4 merged
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-07-11 12:12:29 +08:00

15 lines
497 B
JavaScript

'use strict';
const router = require('express').Router();
const ctrl = require('../../controllers/admin/notification_templates.controller');
// Auth + requireAdmin applied by admin.routes.js
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;