aboutsummaryrefslogtreecommitdiffstats
path: root/model.js
diff options
context:
space:
mode:
Diffstat (limited to 'model.js')
-rw-r--r--model.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/model.js b/model.js
index 5df1270..dde3913 100644
--- a/model.js
+++ b/model.js
@@ -54,6 +54,7 @@ function populateDB(model) {
newBlogPost.save();
});
}
+
module.exports = {
blogPost: mongoose.model("BlogPost", BlogPostSchema),
dbInit: dbInit,