13 lines
286 B
JavaScript
13 lines
286 B
JavaScript
var express = require('express');
|
|
var router = express.Router();
|
|
var homeController = require('../controllers/home');
|
|
/* GET home page. */
|
|
router.route('/')
|
|
.get(homeController.getIndex);
|
|
|
|
router.route('/about')
|
|
.get(homeController.getAbout);
|
|
|
|
|
|
module.exports = router;
|