mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
add: more commits
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
'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.get('/:id', ctrl.getNotificationTemplate);
|
||||
router.put('/:id', ctrl.updateNotificationTemplate);
|
||||
|
||||
module.exports = router;
|
||||
Reference in New Issue
Block a user