router.js 198 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 /** * 路由处理文件 * author: xuqi(qi.xu@yoho.cn) * date: 2015/3/27 */ var detail = require('./views/controller/detail'); module.exports = function(app) { app.get('/', detail.show); };