Skip to content

Instantly share code, notes, and snippets.

@godfreyd godfreyd/routes.js
Created May 24, 2017

Embed
What would you like to do?
var router = require('express').Router(),
controllers = require('./controllers');
router
.get('/ping/', function(req, res) {
res.send('ok');
})
.get('/', controllers.getContent);
module.exports = router;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.