Skip to content

Commit 7b26a11

Browse files
committedOct 19, 2015
Removed autopublish and set up a basic publication.
chapter4-4
1 parent 974953b commit 7b26a11

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed
 

‎.meteor/packages

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ standard-minifiers # JS/CSS minifiers run for production mode
1616
es5-shim # ECMAScript 5 compatibility for older browsers.
1717
ecmascript # Enable ECMAScript2015+ syntax in app code
1818

19-
autopublish # Publish all data to the clients (for prototyping)
2019
insecure # Allow all DB writes from clients (for prototyping)
2120
twbs:bootstrap
2221
underscore

‎.meteor/versions

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
autopublish@1.0.4
21
autoupdate@1.2.3
32
babel-compiler@5.8.24_1
43
babel-runtime@0.1.4

‎client/main.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Meteor.subscribe('posts');

‎server/publications.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Meteor.publish('posts', function() {
2+
return Posts.find();
3+
});

0 commit comments

Comments
 (0)