Created
May 18, 2016 23:25
-
-
Save jaredallard/473bf5b34897bb16dbcf388a255f2132 to your computer and use it in GitHub Desktop.
Route for Dynamic Express constructor thing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* /users route. | |
* | |
* @author Jared Allard <[email protected]> | |
* @version 1.0.0. | |
* @license MIT | |
**/ | |
'use strict'; | |
module.exports = (Router, dbctl) => { | |
Router.get('/', (req, res) => { | |
res.send('Hello, world!'); | |
}) | |
return Router; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment