router.js 280 Bytes
/**
 * 文章router
 * @author: leo <qi.li@yoho.cn>
 * @date: 23/06/2017
 */
const express = require('express');
const router = express.Router();  // eslint-disable-line
const article = require('./controllers/article');

router.get('/all', article.all);

module.exports = router;