You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openNG/routes/index.coffee

10 lines
199 B
CoffeeScript

10 years ago
router = require("express-promise-router")()
router.get "/", (req, res) ->
res.render "layout"
router.get "/node/:uuid", (req, res) ->
res.json {"uuid": req.params.uuid}
module.exports = router