Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import * as c from '../controllers/hiscoreController'; //CRUD operations here
- var hiscoreRouter = express.Router();
- hiscoreRouter.get('/', c.getScores)
- .post('/', c.addNewScore)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement