diff --git a/app/models/article.js b/app/models/article.js index 988a803f44..dd35e03099 100644 --- a/app/models/article.js +++ b/app/models/article.js @@ -4,7 +4,7 @@ var mongoose = require('mongoose') , env = process.env.NODE_ENV || 'development' , config = require('../../config/config')[env] - , Schema = mongoose.Schema + , Schema = mongoose.Schema; /** * Article Schema @@ -26,6 +26,6 @@ ArticleSchema.statics = { load: function (id, cb) { this.findOne({ _id : id }).populate('user').exec(cb); } -} +}; -mongoose.model('Article', ArticleSchema) \ No newline at end of file +mongoose.model('Article', ArticleSchema); \ No newline at end of file diff --git a/public/views/articles/create.html b/public/views/articles/create.html index d3713ed9ce..721ccba2d9 100644 --- a/public/views/articles/create.html +++ b/public/views/articles/create.html @@ -3,13 +3,13 @@
- +
- +