diff --git a/README.md b/README.md index 0cab4c53..376aa180 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,9 @@ See the [config](config/) folder and especially the [config.js](config/config.js * Visit us at [Linnovate.net](http://www.linnovate.net/). * Contact amos on any issue via [E-Mail](mailto:mail@amoshaviv.com), [Facebook](http://www.facebook.com/amoshaviv), or [Twitter](http://www.twitter.com/amoshaviv). +## Credits +Inspired by the great work of [Madhusudhan Srinivasa](https://github.com/madhums/) + ## License (The MIT License) diff --git a/app/models/article.js b/app/models/article.js index 988a803f..dd35e030 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/list.html b/public/views/articles/list.html index 471a7757..5fbfb0f9 100644 --- a/public/views/articles/list.html +++ b/public/views/articles/list.html @@ -1,5 +1,5 @@
-