Permalink
Browse files

Added data to the posts collection.

chapter4-2
  • Loading branch information...
tmeasday committed Apr 7, 2013
1 parent 6cb7cf2 commit f8080fffeec2f5b7cec183798ea2e07aa7c2dc48
Showing with 19 additions and 0 deletions.
  1. +19 −0 server/fixtures.js
View
@@ -0,0 +1,19 @@
+if (Posts.find().count() === 0) {
+ Posts.insert({
+ title: 'Introducing Telescope',
+ author: 'Sacha Greif',
+ url: 'http://sachagreif.com/introducing-telescope/'
+ });
+
+ Posts.insert({
+ title: 'Meteor',
+ author: 'Tom Coleman',
+ url: 'http://meteor.com'
+ });
+
+ Posts.insert({
+ title: 'The Meteor Book',
+ author: 'Tom Coleman',
+ url: 'http://themeteorbook.com'
+ });
+}

0 comments on commit f8080ff

Please sign in to comment.