Blame view

apps/about/router.js 446 Bytes
zhangxiaoru authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/**
 * @author: zxr
 */

'use strict';
const router = require('express').Router(); // eslint-disable-line
const cRoot = './controllers';

const aboutCtrl = require(`${cRoot}/about`);

router.get('/yohobuy.html', aboutCtrl.yohobuy);
router.get('/newpower.html', aboutCtrl.newpower);
router.get('/contact.html', aboutCtrl.contact);
router.get('/privacy.html', aboutCtrl.privacy);
router.get('/link.html', aboutCtrl.link);

module.exports = router;