Skip to content

Instantly share code, notes, and snippets.

@domachine
Created February 13, 2015 11:36
Show Gist options
  • Save domachine/7eef4bc67b3af5b6f560 to your computer and use it in GitHub Desktop.
Save domachine/7eef4bc67b3af5b6f560 to your computer and use it in GitHub Desktop.
architect-middleware-example
architect = require('express-resource-architect')
m = architect.middleware()
exports.new = [
m.new()
m.view 'users/new', true
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment