/** * router of sub app channel * @author: biao<bill.zhao@yoho.cn> * @date: 2016/06/29 */ 'use strict'; const router = require('express').Router(); // eslint-disable-line const cRoot = './controllers'; // Your controller here const index = require(`${cRoot}`).index; router.get(['/', '/men', '/women', '/lifestyle'], index); module.exports = router;