router.js
352 Bytes
/**
* router of sub app guang
* @author: biao<bill.zhao@yoho.cn>
* @date: 2016/05/12
*/
'use strict';
const router = require('express').Router(); // eslint-disable-line
const cRoot = './controllers';
const guangController = require(`${cRoot}/index`);
// Your controller here
router.get('/', guangController.index);
module.exports = router;