salix/services/mailer/application/router.js

17 lines
393 B
JavaScript

var express = require('express');
var router = new express.Router();
var settings = require('./settings.js');
// Mailer default page
router.get('/', function(request, response) {
response.json({});
});
// Manuscripts
router.use('/manuscript', require('./route/manuscript.js'));
// Notifications
router.use('/notification', require('./route/notification.js'));
module.exports = router;