mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
13 lines
376 B
JavaScript
13 lines
376 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.get('/:id', ctrl.getNotificationTemplate);
|
|
router.put('/:id', ctrl.updateNotificationTemplate);
|
|
|
|
module.exports = router;
|