index.js 328 Bytes
var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', {title: '학생 출석 확인'});
});

router.get('/admin', function(req, res, next) {
  res.render('admin',{title: '교강사 학생 관리'} )

});

module.exports = router;