aboutsummaryrefslogtreecommitdiff
path: root/routes/index.js
blob: f30abb5a729f95749b1b66c48f07bb6a3f991b27 (plain)
1
2
3
4
5
6
7
8
9
10
const express = require('express')
const router = express.Router()
const users = require('../lib/getUserIndex')

/* GET home page. */
router.get('/', function (req, res, next) {
  res.render('index', { users: users.users })
})

module.exports = router