diff options
Diffstat (limited to 'model.js')
-rw-r--r-- | model.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -54,6 +54,7 @@ function populateDB(model) { newBlogPost.save(); }); } + module.exports = { blogPost: mongoose.model("BlogPost", BlogPostSchema), dbInit: dbInit, |