Skip to content

Instantly share code, notes, and snippets.

@frankfuu
Created April 21, 2020 08:35
Show Gist options
  • Save frankfuu/57d7f7a82343cbee6cb935d87d83ef22 to your computer and use it in GitHub Desktop.
Save frankfuu/57d7f7a82343cbee6cb935d87d83ef22 to your computer and use it in GitHub Desktop.
comp5347 week 8 part 3
var express = require('express')
var controller = require('../controllers/revision.server.controller.js')
var model = require('../models/revision.js')
var router = express.Router()
console.log(controller.showTitleForm)
router.get('/', controller.showTitleForm)
router.get('/getLatest', controller.getLatest);
module.exports = router
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment