Created
December 26, 2018 00:46
-
-
Save rodolphonetto/b6c4a05560d89f3a49fdcbe926f9dfa7 to your computer and use it in GitHub Desktop.
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
const path = require('path') | |
const express = require('express') | |
const router = express.Router() | |
router.get('/usuarios', (req, res, next) => { | |
res.sendFile(path.join(__dirname, '../', 'views', 'usuarios', 'usuarios.html')) | |
}) | |
module.exports = router |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment