Skip to content

Instantly share code, notes, and snippets.

@domachine
Created February 13, 2015 11:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save domachine/d16e213d4b74162238d7 to your computer and use it in GitHub Desktop.
Save domachine/d16e213d4b74162238d7 to your computer and use it in GitHub Desktop.
architect-controllers
mongoose = require('mongoose')
User = mongoose.model('User')
exports.new = (req, res, done) ->
user = new User()
res.render 'users/new', user: user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment