mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user