Skip to content

Instantly share code, notes, and snippets.

@spikebrehm
Last active December 11, 2015 12:18
Show Gist options
  • Save spikebrehm/4599768 to your computer and use it in GitHub Desktop.
Save spikebrehm/4599768 to your computer and use it in GitHub Desktop.
Code for blog post: "We've launched our first Node.js app to production!"
module.exports = (match) ->
match 'users/:id', 'users#show'
match 'users', 'users#index'
match 'listings/:id', 'listings#show'
match 'search', 'listings#search', maxAge: 900
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment