Skip to content

Instantly share code, notes, and snippets.

@cdbkr
Created June 25, 2013 20:43
Show Gist options
  • Save cdbkr/5862189 to your computer and use it in GitHub Desktop.
Save cdbkr/5862189 to your computer and use it in GitHub Desktop.
// Bootstrap models
fs.readdirSync(__dirname + '/app/models').forEach(function (file) {
require(__dirname + '/app/models/' + file)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment