Skip to content

Instantly share code, notes, and snippets.

@randallb
Created April 4, 2012 21:31
Show Gist options
  • Save randallb/2305862 to your computer and use it in GitHub Desktop.
Save randallb/2305862 to your computer and use it in GitHub Desktop.
app = {}
exports.setup = (newApp) ->
app = newApp
exports.routes =
"/":
get: (req, res, next) ->
res.redirect "/displays/ksl"
"/:param":
get: (req, res, next) ->
res.render "display"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment